Skip to content

Commit

Permalink
staging: rt2870: use '%pM' format to print MAC address
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Andy Shevchenko authored and Greg Kroah-Hartman committed Sep 16, 2010
1 parent 0ce53f3 commit ada543b
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions drivers/staging/rt2870/common/rtusb_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit ada543b

Please sign in to comment.