projects
/
openwrt
/
svn-archive
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad974a9
)
fix wl0_rate format
author
Felix Fietkau
<
[email protected]
>
Wed, 11 Jan 2006 01:35:31 +0000
(
01:35
+0000)
committer
Felix Fietkau
<
[email protected]
>
Wed, 11 Jan 2006 01:35:31 +0000
(
01:35
+0000)
SVN-Revision: 2895
openwrt/package/wificonf/wificonf.c
patch
|
blob
|
history
diff --git
a/openwrt/package/wificonf/wificonf.c
b/openwrt/package/wificonf/wificonf.c
index aba29245dbeb2ecd8ee2b8ceae35a6b20fb3e7a7..3a53d779f6d30940e845062e6c3791dcfe98d7c9 100644
(file)
--- a/
openwrt/package/wificonf/wificonf.c
+++ b/
openwrt/package/wificonf/wificonf.c
@@
-367,7
+367,7
@@
static void setup_bcom(int skfd, char *ifname)
bcom_ioctl(skfd, ifname, WLC_SET_FRAG, &val, sizeof(val));
}
if ((val = atoi(nvram_safe_get(wl_var("rate")))) > 0) {
- val
*= 2
;
+ val
/= 500000
;
bcom_ioctl(skfd, ifname, WLC_SET_RATE, &val, sizeof(val));
}
if (v = nvram_get(wl_var("dtim"))) {