aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/events.c
diff options
context:
space:
mode:
authorJanusz Dziedzic <janusz.dziedzic@tieto.com>2014-10-01 07:52:54 (GMT)
committerJouni Malinen <j@w1.fi>2014-10-04 15:54:22 (GMT)
commitdc152f32b4fd8af8ec055e3d551523e62792a585 (patch)
tree853a1aee4a639c11d3d888e4248c7f82c9d9f1b5 /wpa_supplicant/events.c
parent4ec68377efbaf03f514e17c24a7253ef8bb31ce0 (diff)
downloadhostap-dc152f32b4fd8af8ec055e3d551523e62792a585.zip
hostap-dc152f32b4fd8af8ec055e3d551523e62792a585.tar.gz
hostap-dc152f32b4fd8af8ec055e3d551523e62792a585.tar.bz2
wpa_supplicant: Enable HT for IBSS
Enable HT20 for IBSS when HT is supported by the driver. Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com>
Diffstat (limited to 'wpa_supplicant/events.c')
-rw-r--r--wpa_supplicant/events.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c
index cf870c5..2d17aba 100644
--- a/wpa_supplicant/events.c
+++ b/wpa_supplicant/events.c
@@ -582,7 +582,7 @@ static int freq_allowed(int *freqs, int freq)
}
-static int ht_supported(const struct hostapd_hw_modes *mode)
+int ht_supported(const struct hostapd_hw_modes *mode)
{
if (!(mode->flags & HOSTAPD_MODE_FLAG_HT_INFO_KNOWN)) {
/*
@@ -600,7 +600,7 @@ static int ht_supported(const struct hostapd_hw_modes *mode)
}
-static int vht_supported(const struct hostapd_hw_modes *mode)
+int vht_supported(const struct hostapd_hw_modes *mode)
{
if (!(mode->flags & HOSTAPD_MODE_FLAG_VHT_INFO_KNOWN)) {
/*