projects
/
mech_eap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c599ddd
)
Make fallback from HT40 to HT20 work
author
Eduardo Abinader
<eabinader@ocedo.com>
Thu, 21 Jan 2016 10:26:35 +0000
(11:26 +0100)
committer
Jouni Malinen
<j@w1.fi>
Fri, 5 Feb 2016 15:52:47 +0000
(17:52 +0200)
Ensure that if it is not possible to configure an allowed 20 MHz
channel pair, hostapd falls back to a single 20 MHz channel.
Signed-off-by: Eduardo Abinader <eabinader@ocedo.com>
src/ap/hw_features.c
patch
|
blob
|
history
diff --git
a/src/ap/hw_features.c
b/src/ap/hw_features.c
index
3607066
..
16887ac
100644
(file)
--- a/
src/ap/hw_features.c
+++ b/
src/ap/hw_features.c
@@
-329,6
+329,7
@@
static void ieee80211n_check_scan(struct hostapd_iface *iface)
res = ieee80211n_allowed_ht40_channel_pair(iface);
if (!res) {
iface->conf->secondary_channel = 0;
+ res = 1;
wpa_printf(MSG_INFO, "Fallback to 20 MHz");
}