mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-23 07:51:05 +02:00
hostapd: do not restrict ht capabilities for ap+sta
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23674 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
1fa0d3608c
commit
2af1cd58ef
@ -71,8 +71,8 @@
|
|||||||
+ channel = (bss->freq - 5000) / 5;
|
+ channel = (bss->freq - 5000) / 5;
|
||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
+ if (asprintf(&cmd, "RELOAD channel=%d sec_chan=0 hw_mode=%d ht_capab_mask=%d ieee80211n=%d",
|
+ if (asprintf(&cmd, "RELOAD channel=%d sec_chan=0 hw_mode=%d ieee80211n=%d",
|
||||||
+ channel, hw_mode, bss->ht_capab, !!bss->ht_capab) < 0) {
|
+ channel, hw_mode, !!bss->ht_capab) < 0) {
|
||||||
+ return -1;
|
+ return -1;
|
||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
|
Loading…
x
Reference in New Issue
Block a user