brcmfmac: cleanup debug messages in brcmf_fws_hdrpush()
authorArend van Spriel <arend@broadcom.com>
Wed, 26 Jun 2013 12:20:20 +0000 (14:20 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 27 Jun 2013 17:42:18 +0000 (13:42 -0400)
Trivial cleanup of debug messages.

Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/fwsignal.c

index 44b319292a50502bfb960f1b5a2d7e760b2da15d..e92a3ce58c02620421d4d77cb6cd0bcf00ce7b00 100644 (file)
@@ -796,9 +796,8 @@ static int brcmf_fws_hdrpush(struct brcmf_fws_info *fws, struct sk_buff *skb)
        u8 fillers;
        __le32 pkttag = cpu_to_le32(brcmf_skbcb(skb)->htod);
 
-       brcmf_dbg(TRACE, "enter: ea=%pM, ifidx=%u (%u), pkttag=0x%08X, hslot=%d\n",
-                 entry->ea, entry->interface_id,
-                 brcmf_skb_if_flags_get_field(skb, INDEX),
+       brcmf_dbg(TRACE, "enter: %s, idx=%d pkttag=0x%08X, hslot=%d\n",
+                 entry->name, brcmf_skb_if_flags_get_field(skb, INDEX),
                  le32_to_cpu(pkttag), (le32_to_cpu(pkttag) >> 8) & 0xffff);
        if (entry->send_tim_signal)
                data_offset += 2 + BRCMF_FWS_TYPE_PENDING_TRAFFIC_BMP_LEN;
@@ -822,8 +821,8 @@ static int brcmf_fws_hdrpush(struct brcmf_fws_info *fws, struct sk_buff *skb)
                wlh[1] = BRCMF_FWS_TYPE_PENDING_TRAFFIC_BMP_LEN;
                wlh[2] = entry->mac_handle;
                wlh[3] = entry->traffic_pending_bmp;
-               brcmf_dbg(TRACE, "adding TIM info: %02X:%02X:%02X:%02X\n",
-                         wlh[0], wlh[1], wlh[2], wlh[3]);
+               brcmf_dbg(TRACE, "adding TIM info: handle %d bmp 0x%X\n",
+                         entry->mac_handle, entry->traffic_pending_bmp);
                wlh += BRCMF_FWS_TYPE_PENDING_TRAFFIC_BMP_LEN + 2;
                entry->traffic_lastreported_bmp = entry->traffic_pending_bmp;
        }