aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/hostapd.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2008-11-26 08:44:04 (GMT)
committerJouni Malinen <j@w1.fi>2008-11-26 08:44:04 (GMT)
commitfe0f58fa691bf32efc53c43699114a950dde37e4 (patch)
tree6901f71fe0005b8b7d0092feaca3fe8f8cc817a9 /hostapd/hostapd.c
parent95da9bbc364778c4cc72dff9d60f74bc1dbdfbb5 (diff)
downloadhostap-06-fe0f58fa691bf32efc53c43699114a950dde37e4.zip
hostap-06-fe0f58fa691bf32efc53c43699114a950dde37e4.tar.gz
hostap-06-fe0f58fa691bf32efc53c43699114a950dde37e4.tar.bz2
Added option to distinguish non-HT and HT20 in set_freq
Diffstat (limited to 'hostapd/hostapd.c')
-rw-r--r--hostapd/hostapd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hostapd/hostapd.c b/hostapd/hostapd.c
index 681ebbf..6efe13f 100644
--- a/hostapd/hostapd.c
+++ b/hostapd/hostapd.c
@@ -1554,6 +1554,7 @@ static int setup_interface(struct hostapd_iface *iface)
hapd->iconf->channel, freq);
if (hostapd_set_freq(hapd, hapd->iconf->hw_mode, freq,
+ hapd->iconf->ieee80211n,
hapd->iconf->secondary_channel)) {
printf("Could not set channel for kernel driver\n");
return -1;