diff options
Diffstat (limited to 'net/ieee80211/softmac/ieee80211softmac_assoc.c')
-rw-r--r-- | net/ieee80211/softmac/ieee80211softmac_assoc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/ieee80211/softmac/ieee80211softmac_assoc.c b/net/ieee80211/softmac/ieee80211softmac_assoc.c index e475f2e1be13..4c0feb2dacd8 100644 --- a/net/ieee80211/softmac/ieee80211softmac_assoc.c +++ b/net/ieee80211/softmac/ieee80211softmac_assoc.c | |||
@@ -372,6 +372,7 @@ ieee80211softmac_handle_assoc_response(struct net_device * dev, | |||
372 | u16 status = le16_to_cpup(&resp->status); | 372 | u16 status = le16_to_cpup(&resp->status); |
373 | struct ieee80211softmac_network *network = NULL; | 373 | struct ieee80211softmac_network *network = NULL; |
374 | unsigned long flags; | 374 | unsigned long flags; |
375 | DECLARE_MAC_BUF(mac2); | ||
375 | 376 | ||
376 | if (unlikely(!mac->running)) | 377 | if (unlikely(!mac->running)) |
377 | return -ENODEV; | 378 | return -ENODEV; |
@@ -388,7 +389,8 @@ ieee80211softmac_handle_assoc_response(struct net_device * dev, | |||
388 | 389 | ||
389 | /* someone sending us things without us knowing him? Ignore. */ | 390 | /* someone sending us things without us knowing him? Ignore. */ |
390 | if (!network) { | 391 | if (!network) { |
391 | dprintk(KERN_INFO PFX "Received unrequested assocation response from " MAC_FMT "\n", MAC_ARG(resp->header.addr3)); | 392 | dprintk(KERN_INFO PFX "Received unrequested assocation response from %s\n", |
393 | print_mac(mac2, resp->header.addr3)); | ||
392 | spin_unlock_irqrestore(&mac->lock, flags); | 394 | spin_unlock_irqrestore(&mac->lock, flags); |
393 | return 0; | 395 | return 0; |
394 | } | 396 | } |