From b7f384e7657a927e844639b4ffbc0abd18a469d0 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 5 Jun 2014 15:58:01 +0000 Subject: hostapd: update to 2014-06-03 Signed-off-by: Felix Fietkau git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41022 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../hostapd/patches/502-wpa_s-support-htmode-param.patch | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'package/network/services/hostapd/patches/502-wpa_s-support-htmode-param.patch') diff --git a/package/network/services/hostapd/patches/502-wpa_s-support-htmode-param.patch b/package/network/services/hostapd/patches/502-wpa_s-support-htmode-param.patch index fdba6d7884..45088ad171 100644 --- a/package/network/services/hostapd/patches/502-wpa_s-support-htmode-param.patch +++ b/package/network/services/hostapd/patches/502-wpa_s-support-htmode-param.patch @@ -27,7 +27,7 @@ Signed-off-by: Antonio Quartulli * bssid_hint - BSSID of a proposed AP --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c -@@ -8525,6 +8525,22 @@ retry: +@@ -8651,6 +8651,22 @@ retry: NLA_PUT_U32(msg, NL80211_ATTR_MCAST_RATE, params->mcast_rate); } @@ -129,9 +129,9 @@ Signed-off-by: Antonio Quartulli { FUNC(rates) }, { FUNC(mcast_rate) }, + { FUNC(htmode) }, - }; - - #undef OFFSET + #ifdef CONFIG_MACSEC + { INT_RANGE(macsec_policy, 0, 1) }, + #endif /* CONFIG_MACSEC */ --- a/wpa_supplicant/config_ssid.h +++ b/wpa_supplicant/config_ssid.h @@ -641,6 +641,8 @@ struct wpa_ssid { @@ -140,12 +140,12 @@ Signed-off-by: Antonio Quartulli double mcast_rate; + int ht_set; + unsigned int htmode; - }; - #endif /* CONFIG_SSID_H */ + #ifdef CONFIG_MACSEC + /** --- a/wpa_supplicant/wpa_supplicant.c +++ b/wpa_supplicant/wpa_supplicant.c -@@ -1798,6 +1798,8 @@ static void wpas_start_assoc_cb(struct w +@@ -1812,6 +1812,8 @@ static void wpas_start_assoc_cb(struct w i++; } params.mcast_rate = ssid->mcast_rate; -- cgit v1.2.3