aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/events.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2013-03-13 10:38:26 (GMT)
committerJouni Malinen <j@w1.fi>2013-03-13 10:40:57 (GMT)
commitb6714ca1bb238cfc8a955d55da22f228652a9623 (patch)
treee544a9ef8bc77b8d6415c7769319e436d09b9ac7 /wpa_supplicant/events.c
parent94d7acf3df09da611a96b2a5b7d821e41d02bf80 (diff)
downloadhostap-b6714ca1bb238cfc8a955d55da22f228652a9623.zip
hostap-b6714ca1bb238cfc8a955d55da22f228652a9623.tar.gz
hostap-b6714ca1bb238cfc8a955d55da22f228652a9623.tar.bz2
Fix compiler warning when CONFIG_IEEE80211R is not included
Commit 6a1ce39599c857e6e612d8dd81e892ec5ca36c7c moved the bssid variable declaration to be outside CONFIG_IEEE80211R block and triggered a compiler warning about unused variable. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/events.c')
-rw-r--r--wpa_supplicant/events.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c
index 186db8a..d91dd31 100644
--- a/wpa_supplicant/events.c
+++ b/wpa_supplicant/events.c
@@ -1438,7 +1438,9 @@ static int wpa_supplicant_event_associnfo(struct wpa_supplicant *wpa_s,
{
int l, len, found = 0, wpa_found, rsn_found;
const u8 *p;
+#ifdef CONFIG_IEEE80211R
u8 bssid[ETH_ALEN];
+#endif /* CONFIG_IEEE80211R */
wpa_dbg(wpa_s, MSG_DEBUG, "Association info event");
if (data->assoc_info.req_ies)