hostapd: Remove unneeded patch
All the content of this function is proceeded by IEEE8021X_EAPOL no code accesses the ssid variable outside of this ifdef. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>master
parent
9b4a27455c
commit
0d86bf518a
@ -1,14 +0,0 @@
|
|||||||
--- a/wpa_supplicant/wpa_supplicant.c
|
|
||||||
+++ b/wpa_supplicant/wpa_supplicant.c
|
|
||||||
@@ -297,9 +297,10 @@ void wpa_supplicant_cancel_auth_timeout(
|
|
||||||
*/
|
|
||||||
void wpa_supplicant_initiate_eapol(struct wpa_supplicant *wpa_s)
|
|
||||||
{
|
|
||||||
+ struct wpa_ssid *ssid = wpa_s->current_ssid;
|
|
||||||
+
|
|
||||||
#ifdef IEEE8021X_EAPOL
|
|
||||||
struct eapol_config eapol_conf;
|
|
||||||
- struct wpa_ssid *ssid = wpa_s->current_ssid;
|
|
||||||
|
|
||||||
#ifdef CONFIG_IBSS_RSN
|
|
||||||
if (ssid->mode == WPAS_MODE_IBSS &&
|
|
Loading…
Reference in New Issue