diff options
author | Felix Fietkau <nbd@nbd.name> | 2016-06-15 19:28:48 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-06-15 19:28:55 +0200 |
commit | 4e0a533f6052fa82ae61434fdefda22679b170f7 (patch) | |
tree | e3b7673568a66d7408b1933f1ed225cf056b27cf /package/network/services/hostapd/patches/462-wpa_s-support-htmode-param.patch | |
parent | 96db10752483cb07f822686482b44be6c21fbb5f (diff) | |
download | upstream-4e0a533f6052fa82ae61434fdefda22679b170f7.tar.gz upstream-4e0a533f6052fa82ae61434fdefda22679b170f7.tar.bz2 upstream-4e0a533f6052fa82ae61434fdefda22679b170f7.zip |
hostapd: fix breakage with non-nl80211 drivers
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/network/services/hostapd/patches/462-wpa_s-support-htmode-param.patch')
-rw-r--r-- | package/network/services/hostapd/patches/462-wpa_s-support-htmode-param.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/package/network/services/hostapd/patches/462-wpa_s-support-htmode-param.patch b/package/network/services/hostapd/patches/462-wpa_s-support-htmode-param.patch index e2bd37d7a5..a81465c56f 100644 --- a/package/network/services/hostapd/patches/462-wpa_s-support-htmode-param.patch +++ b/package/network/services/hostapd/patches/462-wpa_s-support-htmode-param.patch @@ -18,7 +18,7 @@ Signed-off-by: Antonio Quartulli <ordex@autistici.org> +++ b/src/drivers/driver.h @@ -590,6 +590,8 @@ struct wpa_driver_associate_params { - unsigned char rates[NL80211_MAX_SUPP_RATES]; + unsigned char rates[WLAN_SUPP_RATES_MAX]; int mcast_rate; + int ht_set; + unsigned int htmode; @@ -134,9 +134,9 @@ Signed-off-by: Antonio Quartulli <ordex@autistici.org> #endif /* CONFIG_MACSEC */ --- a/wpa_supplicant/config_ssid.h +++ b/wpa_supplicant/config_ssid.h -@@ -714,6 +714,8 @@ struct wpa_ssid { +@@ -715,6 +715,8 @@ struct wpa_ssid { - unsigned char rates[NL80211_MAX_SUPP_RATES]; + unsigned char rates[WLAN_SUPP_RATES_MAX]; double mcast_rate; + int ht_set; + unsigned int htmode; |