brcmfmac: change debug output for received event.
authorHante Meuleman <meuleman@broadcom.com>
Wed, 28 Nov 2012 20:44:14 +0000 (21:44 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 30 Nov 2012 19:00:32 +0000 (14:00 -0500)
see header.

Reviewed-by: Arend Van Spriel <arend@broadcom.com>
Signed-off-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/fweh.c

index fa8fc44334174131e847e1156757aec9bc3f5b33..7a00c4614bafc185c79890b1b57770fd9d8e48cf 100644 (file)
@@ -314,7 +314,7 @@ static void brcmf_fweh_event_worker(struct work_struct *work)
        while ((event = brcmf_fweh_dequeue_event(fweh))) {
                ifp = drvr->iflist[event->ifidx];
 
-               brcmf_dbg(EVENT, "event %s (%u) ifidx %u bsscfg %u addr %pM:\n",
+               brcmf_dbg(EVENT, "event %s (%u) ifidx %u bsscfg %u addr %pM\n",
                          brcmf_fweh_event_name(event->code), event->code,
                          event->emsg.ifidx, event->emsg.bsscfgidx,
                          event->emsg.addr);
@@ -337,7 +337,7 @@ static void brcmf_fweh_event_worker(struct work_struct *work)
                          emsg.version, emsg.flags, emsg.status, emsg.reason);
                brcmf_dbg_hex_dump(BRCMF_EVENT_ON(), event->data,
                                   min_t(u32, emsg.datalen, 64),
-                                  "appended:");
+                                  "event payload, len=%d\n", emsg.datalen);
 
                /* special handling of interface event */
                if (event->code == BRCMF_E_IF) {