Fix compiler warning when CONFIG_IEEE80211R is not included
Commit 6a1ce39599
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>
This commit is contained in:
parent
94d7acf3df
commit
b6714ca1bb
1 changed files with 2 additions and 0 deletions
|
@ -1438,7 +1438,9 @@ static int wpa_supplicant_event_associnfo(struct wpa_supplicant *wpa_s,
|
||||||
{
|
{
|
||||||
int l, len, found = 0, wpa_found, rsn_found;
|
int l, len, found = 0, wpa_found, rsn_found;
|
||||||
const u8 *p;
|
const u8 *p;
|
||||||
|
#ifdef CONFIG_IEEE80211R
|
||||||
u8 bssid[ETH_ALEN];
|
u8 bssid[ETH_ALEN];
|
||||||
|
#endif /* CONFIG_IEEE80211R */
|
||||||
|
|
||||||
wpa_dbg(wpa_s, MSG_DEBUG, "Association info event");
|
wpa_dbg(wpa_s, MSG_DEBUG, "Association info event");
|
||||||
if (data->assoc_info.req_ies)
|
if (data->assoc_info.req_ies)
|
||||||
|
|
Loading…
Reference in a new issue