X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=package%2Fnetwork%2Fservices%2Fhostapd%2Fpatches%2F350-nl80211_del_beacon_bss.patch;h=2bcf49a7c62e221b6c913b0008b324ea34346de0;hb=01617ca849a95ff2b1097d71cdc1b4c9cc96db49;hp=bc720230e4cc8e8e277004681de39a2399777bca;hpb=7934751c100592b42b4d59bd5f53bd04cc67ebd3;p=openwrt.git diff --git a/package/network/services/hostapd/patches/350-nl80211_del_beacon_bss.patch b/package/network/services/hostapd/patches/350-nl80211_del_beacon_bss.patch index bc720230e4..2bcf49a7c6 100644 --- a/package/network/services/hostapd/patches/350-nl80211_del_beacon_bss.patch +++ b/package/network/services/hostapd/patches/350-nl80211_del_beacon_bss.patch @@ -1,6 +1,6 @@ --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c -@@ -2323,13 +2323,18 @@ wpa_driver_nl80211_finish_drv_init(struc +@@ -2324,13 +2324,18 @@ wpa_driver_nl80211_finish_drv_init(struc } @@ -22,7 +22,7 @@ return send_and_recv_msgs(drv, msg, NULL, NULL); } -@@ -2380,7 +2385,7 @@ static void wpa_driver_nl80211_deinit(st +@@ -2381,7 +2386,7 @@ static void wpa_driver_nl80211_deinit(st nl80211_remove_monitor_interface(drv); if (is_ap_interface(drv->nlmode)) @@ -31,7 +31,7 @@ if (drv->eapol_sock >= 0) { eloop_unregister_read_sock(drv->eapol_sock); -@@ -4232,8 +4237,7 @@ static void nl80211_teardown_ap(struct i +@@ -4233,8 +4238,7 @@ static void nl80211_teardown_ap(struct i nl80211_remove_monitor_interface(drv); else nl80211_mgmt_unsubscribe(bss, "AP teardown"); @@ -41,7 +41,7 @@ } -@@ -6164,8 +6168,6 @@ static int wpa_driver_nl80211_if_remove( +@@ -6165,8 +6169,6 @@ static int wpa_driver_nl80211_if_remove( } else { wpa_printf(MSG_DEBUG, "nl80211: First BSS - reassign context"); nl80211_teardown_ap(bss); @@ -50,7 +50,7 @@ nl80211_destroy_bss(bss); if (!bss->added_if) i802_set_iface_flags(bss, 0); -@@ -6527,8 +6529,7 @@ static int wpa_driver_nl80211_deinit_ap( +@@ -6528,8 +6530,7 @@ static int wpa_driver_nl80211_deinit_ap( struct wpa_driver_nl80211_data *drv = bss->drv; if (!is_ap_interface(drv->nlmode)) return -1; @@ -60,7 +60,7 @@ /* * If the P2P GO interface was dynamically added, then it is -@@ -6547,8 +6548,7 @@ static int wpa_driver_nl80211_stop_ap(vo +@@ -6548,8 +6549,7 @@ static int wpa_driver_nl80211_stop_ap(vo struct wpa_driver_nl80211_data *drv = bss->drv; if (!is_ap_interface(drv->nlmode)) return -1;