diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-06-05 15:58:01 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-06-05 15:58:01 +0000 |
commit | b7f384e7657a927e844639b4ffbc0abd18a469d0 (patch) | |
tree | fcdfbb0d8be38752bd3e941ab3b7381124d9b277 /package/network/services/hostapd/patches/380-disable_ctrl_iface_mib.patch | |
parent | f1ae7d3817e184eee92510ff7ac08f06dae1ccd6 (diff) | |
download | master-187ad058-b7f384e7657a927e844639b4ffbc0abd18a469d0.tar.gz master-187ad058-b7f384e7657a927e844639b4ffbc0abd18a469d0.tar.bz2 master-187ad058-b7f384e7657a927e844639b4ffbc0abd18a469d0.zip |
hostapd: update to 2014-06-03
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41022 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/services/hostapd/patches/380-disable_ctrl_iface_mib.patch')
-rw-r--r-- | package/network/services/hostapd/patches/380-disable_ctrl_iface_mib.patch | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/package/network/services/hostapd/patches/380-disable_ctrl_iface_mib.patch b/package/network/services/hostapd/patches/380-disable_ctrl_iface_mib.patch index d39ba2e33b..dee1ab322c 100644 --- a/package/network/services/hostapd/patches/380-disable_ctrl_iface_mib.patch +++ b/package/network/services/hostapd/patches/380-disable_ctrl_iface_mib.patch @@ -30,7 +30,7 @@ reply_len = -1; --- a/wpa_supplicant/Makefile +++ b/wpa_supplicant/Makefile -@@ -797,6 +797,9 @@ ifdef CONFIG_WNM +@@ -805,6 +805,9 @@ ifdef CONFIG_WNM OBJS += ../src/ap/wnm_ap.o endif ifdef CONFIG_CTRL_IFACE @@ -42,7 +42,7 @@ --- a/wpa_supplicant/ctrl_iface.c +++ b/wpa_supplicant/ctrl_iface.c -@@ -6075,6 +6075,7 @@ char * wpa_supplicant_ctrl_iface_process +@@ -6243,6 +6243,7 @@ char * wpa_supplicant_ctrl_iface_process reply_len = -1; } else if (os_strncmp(buf, "NOTE ", 5) == 0) { wpa_printf(MSG_INFO, "NOTE: %s", buf + 5); @@ -50,7 +50,7 @@ } else if (os_strcmp(buf, "MIB") == 0) { reply_len = wpa_sm_get_mib(wpa_s->wpa, reply, reply_size); if (reply_len >= 0) { -@@ -6086,6 +6087,7 @@ char * wpa_supplicant_ctrl_iface_process +@@ -6254,6 +6255,7 @@ char * wpa_supplicant_ctrl_iface_process else reply_len += res; } @@ -58,7 +58,7 @@ } else if (os_strncmp(buf, "STATUS", 6) == 0) { reply_len = wpa_supplicant_ctrl_iface_status( wpa_s, buf + 6, reply, reply_size); -@@ -6490,6 +6492,7 @@ char * wpa_supplicant_ctrl_iface_process +@@ -6661,6 +6663,7 @@ char * wpa_supplicant_ctrl_iface_process reply_len = wpa_supplicant_ctrl_iface_bss( wpa_s, buf + 4, reply, reply_size); #ifdef CONFIG_AP @@ -66,7 +66,7 @@ } else if (os_strcmp(buf, "STA-FIRST") == 0) { reply_len = ap_ctrl_iface_sta_first(wpa_s, reply, reply_size); } else if (os_strncmp(buf, "STA ", 4) == 0) { -@@ -6498,6 +6501,7 @@ char * wpa_supplicant_ctrl_iface_process +@@ -6669,6 +6672,7 @@ char * wpa_supplicant_ctrl_iface_process } else if (os_strncmp(buf, "STA-NEXT ", 9) == 0) { reply_len = ap_ctrl_iface_sta_next(wpa_s, buf + 9, reply, reply_size); @@ -92,7 +92,7 @@ #ifdef CONFIG_P2P_MANAGER static int p2p_manager_disconnect(struct hostapd_data *hapd, u16 stype, -@@ -524,3 +526,4 @@ int hostapd_parse_csa_settings(const cha +@@ -526,3 +528,4 @@ int hostapd_parse_csa_settings(const cha return 0; } @@ -117,7 +117,7 @@ struct sta_info *sta, int success, --- a/src/ap/wpa_auth.c +++ b/src/ap/wpa_auth.c -@@ -2830,6 +2830,7 @@ static const char * wpa_bool_txt(int boo +@@ -2832,6 +2832,7 @@ static const char * wpa_bool_txt(int boo return bool ? "TRUE" : "FALSE"; } @@ -125,7 +125,7 @@ #define RSN_SUITE "%02x-%02x-%02x-%d" #define RSN_SUITE_ARG(s) \ -@@ -2974,7 +2975,7 @@ int wpa_get_mib_sta(struct wpa_state_mac +@@ -2976,7 +2977,7 @@ int wpa_get_mib_sta(struct wpa_state_mac return len; } @@ -136,7 +136,7 @@ { --- a/src/rsn_supp/wpa.c +++ b/src/rsn_supp/wpa.c -@@ -1912,6 +1912,8 @@ static u32 wpa_key_mgmt_suite(struct wpa +@@ -1911,6 +1911,8 @@ static u32 wpa_key_mgmt_suite(struct wpa } @@ -145,7 +145,7 @@ #define RSN_SUITE "%02x-%02x-%02x-%d" #define RSN_SUITE_ARG(s) \ ((s) >> 24) & 0xff, ((s) >> 16) & 0xff, ((s) >> 8) & 0xff, (s) & 0xff -@@ -1995,6 +1997,7 @@ int wpa_sm_get_mib(struct wpa_sm *sm, ch +@@ -1994,6 +1996,7 @@ int wpa_sm_get_mib(struct wpa_sm *sm, ch return (int) len; } |