projects
/
openwrt
/
staging
/
rmilecki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e7589c
)
hostapd: do not restrict ht capabilities for ap+sta
author
Felix Fietkau
<nbd@openwrt.org>
Wed, 27 Oct 2010 15:17:09 +0000
(15:17 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Wed, 27 Oct 2010 15:17:09 +0000
(15:17 +0000)
SVN-Revision: 23674
package/hostapd/patches/453-ap_sta_support.patch
patch
|
blob
|
history
diff --git
a/package/hostapd/patches/453-ap_sta_support.patch
b/package/hostapd/patches/453-ap_sta_support.patch
index 68f0e44e71aea8859983bf0f83146e42709f11b0..930981dd3888caf684d57d70af2f837794c44c9a 100644
(file)
--- a/
package/hostapd/patches/453-ap_sta_support.patch
+++ b/
package/hostapd/patches/453-ap_sta_support.patch
@@
-71,8
+71,8
@@
+ channel = (bss->freq - 5000) / 5;
+ }
+
-+ if (asprintf(&cmd, "RELOAD channel=%d sec_chan=0 hw_mode=%d
ht_capab_mask=%d
ieee80211n=%d",
-+ channel, hw_mode,
bss->ht_capab,
!!bss->ht_capab) < 0) {
++ if (asprintf(&cmd, "RELOAD channel=%d sec_chan=0 hw_mode=%d ieee80211n=%d",
++ channel, hw_mode, !!bss->ht_capab) < 0) {
+ return -1;
+ }
+