]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/staging/agnx/debug.h
Staging: agnx: replace print_mac with %pM
[mv-sheeva.git] / drivers / staging / agnx / debug.h
index 761d99c2d3f0ce21eb29fb40b9b3fd2f014b66c6..7947f327a2147903df2e4ad4d643ff170eed4031 100644 (file)
@@ -312,7 +312,6 @@ static inline void dump_ieee80211_hdr(struct ieee80211_hdr *hdr, char *tag)
 {
        u16 fctl;
        int hdrlen;
-       DECLARE_MAC_BUF(mac);
 
        fctl = le16_to_cpu(hdr->frame_control);
        switch (fctl & IEEE80211_FCTL_FTYPE) {
@@ -375,13 +374,13 @@ static inline void dump_ieee80211_hdr(struct ieee80211_hdr *hdr, char *tag)
                printk("FC=0x%04x DUR=0x%04x",
                       fctl, le16_to_cpu(hdr->duration_id));
        if (hdrlen >= 10)
-               printk(" A1=%s", print_mac(mac, hdr->addr1));
+               printk(" A1=%pM", hdr->addr1);
        if (hdrlen >= 16)
-               printk(" A2=%s", print_mac(mac, hdr->addr2));
+               printk(" A2=%pM", hdr->addr2);
        if (hdrlen >= 24)
-               printk(" A3=%s", print_mac(mac, hdr->addr3));
+               printk(" A3=%pM", hdr->addr3);
        if (hdrlen >= 30)
-               printk(" A4=%s", print_mac(mac, hdr->addr4));
+               printk(" A4=%pM", hdr->addr4);
        printk("\n");
 }