diff options
author | P. J. McDermott <pj@pehjota.net> | 2014-08-01 21:53:14 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2014-08-01 21:54:26 (EDT) |
commit | e1fce26c009d7ed19da9282c714b8a1d5fc975a9 (patch) | |
tree | 7684bd237c0c6e497c3f7165b7c1b668a300fc7b /patches | |
parent | ba4970428b18e78ebb173dfb43e7bdbfd8ef0190 (diff) |
Add patch to fix build without IEEE8021X_EAPOL
Diffstat (limited to 'patches')
-rw-r--r-- | patches/01_fix-build-without-ieee8021x-eapol.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/patches/01_fix-build-without-ieee8021x-eapol.patch b/patches/01_fix-build-without-ieee8021x-eapol.patch new file mode 100644 index 0000000..10b9d69 --- /dev/null +++ b/patches/01_fix-build-without-ieee8021x-eapol.patch @@ -0,0 +1,23 @@ +Author: "P. J. McDermott" <pj@pehjota.net> +Subject: Fix build without IEEE8021X_EAPOL + +Fixes: + + wpa_supplicant.c: In function ‘wpa_supplicant_initiate_eapol’: + wpa_supplicant.c:303:33: error: ‘ssid’ undeclared (first use in this function) + wpa_supplicant.c:303:33: note: each undeclared identifier is reported only once for each function it appears in + +diff -Naur src.orig/wpa_supplicant/wpa_supplicant.c src/wpa_supplicant/wpa_supplicant.c +--- src.orig/wpa_supplicant/wpa_supplicant.c 2014-06-04 09:26:14.000000000 -0400 ++++ src/wpa_supplicant/wpa_supplicant.c 2014-08-01 21:49:40.883131289 -0400 +@@ -247,9 +247,9 @@ + */ + 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 && |