summaryrefslogtreecommitdiff
path: root/package/hostapd/patches/453-ap_sta_support.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/hostapd/patches/453-ap_sta_support.patch')
-rw-r--r--package/hostapd/patches/453-ap_sta_support.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/hostapd/patches/453-ap_sta_support.patch b/package/hostapd/patches/453-ap_sta_support.patch
index 68f0e44..930981d 100644
--- 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;
+ }
+