diff options
Diffstat (limited to 'net/ieee80211/ieee80211_wx.c')
-rw-r--r-- | net/ieee80211/ieee80211_wx.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/ieee80211/ieee80211_wx.c b/net/ieee80211/ieee80211_wx.c index 465b73d50532..9b58dd67acb6 100644 --- a/net/ieee80211/ieee80211_wx.c +++ b/net/ieee80211/ieee80211_wx.c | |||
@@ -257,6 +257,7 @@ int ieee80211_wx_get_scan(struct ieee80211_device *ieee, | |||
257 | char *ev = extra; | 257 | char *ev = extra; |
258 | char *stop = ev + wrqu->data.length; | 258 | char *stop = ev + wrqu->data.length; |
259 | int i = 0; | 259 | int i = 0; |
260 | DECLARE_MAC_BUF(mac); | ||
260 | 261 | ||
261 | IEEE80211_DEBUG_WX("Getting scan\n"); | 262 | IEEE80211_DEBUG_WX("Getting scan\n"); |
262 | 263 | ||
@@ -274,10 +275,10 @@ int ieee80211_wx_get_scan(struct ieee80211_device *ieee, | |||
274 | ev = ieee80211_translate_scan(ieee, ev, stop, network); | 275 | ev = ieee80211_translate_scan(ieee, ev, stop, network); |
275 | else | 276 | else |
276 | IEEE80211_DEBUG_SCAN("Not showing network '%s (" | 277 | IEEE80211_DEBUG_SCAN("Not showing network '%s (" |
277 | MAC_FMT ")' due to age (%dms).\n", | 278 | "%s)' due to age (%dms).\n", |
278 | escape_essid(network->ssid, | 279 | escape_essid(network->ssid, |
279 | network->ssid_len), | 280 | network->ssid_len), |
280 | MAC_ARG(network->bssid), | 281 | print_mac(mac, network->bssid), |
281 | jiffies_to_msecs(jiffies - | 282 | jiffies_to_msecs(jiffies - |
282 | network-> | 283 | network-> |
283 | last_scanned)); | 284 | last_scanned)); |