diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-08-08 16:04:19 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-08-08 16:04:19 +0000 |
commit | f53b96813ecf512f6e9b6a4f2467825adc356419 (patch) | |
tree | 61472c5654a7f5b0fae9abfdbfe5bdf35c3e531a /package/network/services/hostapd/patches/440-optional_rfkill.patch | |
parent | 73a584f912d266b7ab0bbee254b5fa1f268d1617 (diff) | |
download | mtk-20170518-f53b96813ecf512f6e9b6a4f2467825adc356419.zip mtk-20170518-f53b96813ecf512f6e9b6a4f2467825adc356419.tar.gz mtk-20170518-f53b96813ecf512f6e9b6a4f2467825adc356419.tar.bz2 |
hostapd: update to latest version (20130707)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37738
Diffstat (limited to 'package/network/services/hostapd/patches/440-optional_rfkill.patch')
-rw-r--r-- | package/network/services/hostapd/patches/440-optional_rfkill.patch | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/package/network/services/hostapd/patches/440-optional_rfkill.patch b/package/network/services/hostapd/patches/440-optional_rfkill.patch index 545b6bb..6bff863 100644 --- a/package/network/services/hostapd/patches/440-optional_rfkill.patch +++ b/package/network/services/hostapd/patches/440-optional_rfkill.patch @@ -10,7 +10,7 @@ struct wpa_driver_capa capa; u8 *extended_capa, *extended_capa_mask; unsigned int extended_capa_len; -@@ -3461,7 +3463,7 @@ static int wpa_driver_nl80211_init_nl(st +@@ -3482,7 +3484,7 @@ static int wpa_driver_nl80211_init_nl(st return 0; } @@ -19,7 +19,7 @@ static void wpa_driver_nl80211_rfkill_blocked(void *ctx) { wpa_printf(MSG_DEBUG, "nl80211: RFKILL blocked"); -@@ -3484,6 +3486,7 @@ static void wpa_driver_nl80211_rfkill_un +@@ -3505,6 +3507,7 @@ static void wpa_driver_nl80211_rfkill_un } /* rtnetlink ifup handler will report interface as enabled */ } @@ -27,7 +27,7 @@ static void wpa_driver_nl80211_handle_eapol_tx_status(int sock, -@@ -3579,7 +3582,9 @@ static void * wpa_driver_nl80211_init(vo +@@ -3600,7 +3603,9 @@ static void * wpa_driver_nl80211_init(vo void *global_priv) { struct wpa_driver_nl80211_data *drv; @@ -37,7 +37,7 @@ struct i802_bss *bss; if (global_priv == NULL) -@@ -3613,6 +3618,7 @@ static void * wpa_driver_nl80211_init(vo +@@ -3634,6 +3639,7 @@ static void * wpa_driver_nl80211_init(vo if (nl80211_init_bss(bss)) goto failed; @@ -45,7 +45,7 @@ rcfg = os_zalloc(sizeof(*rcfg)); if (rcfg == NULL) goto failed; -@@ -3625,6 +3631,7 @@ static void * wpa_driver_nl80211_init(vo +@@ -3646,6 +3652,7 @@ static void * wpa_driver_nl80211_init(vo wpa_printf(MSG_DEBUG, "nl80211: RFKILL status not available"); os_free(rcfg); } @@ -53,7 +53,7 @@ if (wpa_driver_nl80211_finish_drv_init(drv)) goto failed; -@@ -3916,10 +3923,12 @@ static void nl80211_mgmt_unsubscribe(str +@@ -3937,10 +3944,12 @@ static void nl80211_mgmt_unsubscribe(str } @@ -66,7 +66,7 @@ static void nl80211_del_p2pdev(struct i802_bss *bss) -@@ -4027,13 +4036,16 @@ wpa_driver_nl80211_finish_drv_init_sta(s +@@ -4048,13 +4057,16 @@ wpa_driver_nl80211_finish_drv_init_sta(s } if (linux_set_iface_flags(drv->global->ioctl_sock, bss->ifname, 1)) { @@ -84,7 +84,7 @@ wpa_printf(MSG_ERROR, "nl80211: Could not set " "interface '%s' UP", bss->ifname); return -1; -@@ -4072,8 +4084,10 @@ wpa_driver_nl80211_finish_drv_init(struc +@@ -4093,8 +4105,10 @@ wpa_driver_nl80211_finish_drv_init(struc return -1; if (send_rfkill_event) { @@ -95,7 +95,7 @@ } return 0; -@@ -4159,7 +4173,9 @@ static void wpa_driver_nl80211_deinit(st +@@ -4180,7 +4194,9 @@ static void wpa_driver_nl80211_deinit(st netlink_send_oper_ifla(drv->global->netlink, drv->ifindex, 0, IF_OPER_UP); |