[NET]: Introduce and use print_mac() and DECLARE_MAC_BUF()
[deliverable/linux.git] / net / ieee80211 / softmac / ieee80211softmac_assoc.c
index e475f2e1be1375e0125a6a51159833b70bbf6e4e..4c0feb2dacd89cd92977635af6ad9f19e2d5d20c 100644 (file)
@@ -372,6 +372,7 @@ ieee80211softmac_handle_assoc_response(struct net_device * dev,
        u16 status = le16_to_cpup(&resp->status);
        struct ieee80211softmac_network *network = NULL;
        unsigned long flags;
+       DECLARE_MAC_BUF(mac2);
 
        if (unlikely(!mac->running))
                return -ENODEV;
@@ -388,7 +389,8 @@ ieee80211softmac_handle_assoc_response(struct net_device * dev,
 
        /* someone sending us things without us knowing him? Ignore. */
        if (!network) {
-               dprintk(KERN_INFO PFX "Received unrequested assocation response from " MAC_FMT "\n", MAC_ARG(resp->header.addr3));
+               dprintk(KERN_INFO PFX "Received unrequested assocation response from %s\n",
+                       print_mac(mac2, resp->header.addr3));
                spin_unlock_irqrestore(&mac->lock, flags);
                return 0;
        }
This page took 0.030609 seconds and 5 git commands to generate.