staging: rt2870: use '%pM' format to print MAC address
authorAndy Shevchenko <andy.shevchenko@gmail.com>
Sat, 11 Sep 2010 14:17:10 +0000 (17:17 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 16 Sep 2010 19:26:12 +0000 (12:26 -0700)
Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rt2870/common/rtusb_io.c

index 6b9ca24..eb01c8a 100644 (file)
@@ -1879,13 +1879,10 @@ void CMDHandler(struct rt_rtmp_adapter *pAd)
                                        AsicUpdateRxWCIDTable(pAd, pEntry->Aid,
                                                              pEntry->Addr);
                                        DBGPRINT(RT_DEBUG_TRACE,
-                                                ("UpdateRxWCIDTable(): Aid=%d, Addr=%02x:%02x:%02x:%02x:%02x:%02x!\n",
-                                                 pEntry->Aid, pEntry->Addr[0],
-                                                 pEntry->Addr[1],
-                                                 pEntry->Addr[2],
-                                                 pEntry->Addr[3],
-                                                 pEntry->Addr[4],
-                                                 pEntry->Addr[5]));
+                                               ("UpdateRxWCIDTable(): Aid=%d, "
+                                                       "Addr=%pM!\n",
+                                                       pEntry->Aid,
+                                                       &pEntry->Addr[0]));
                                }
                                break;