summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/debugfs.c
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2007-05-25 17:27:31 -0400
committerJohn W. Linville <linville@tuxdriver.com>2007-06-11 14:28:42 -0400
commit02eb229bbded41d189f1ec57dbd264f80c93b5c6 (patch)
treeef14d5e2ea04027ec04f318f375cffc0c1d31fa7 /drivers/net/wireless/libertas/debugfs.c
parente76850d620a0a26fa807b4fa189c64a94789461e (diff)
downloadblackbird-op-linux-02eb229bbded41d189f1ec57dbd264f80c93b5c6.tar.gz
blackbird-op-linux-02eb229bbded41d189f1ec57dbd264f80c93b5c6.zip
[PATCH] libertas: use MAC_FMT and MAC_ARG where appropriate
Signed-off-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/debugfs.c')
-rw-r--r--drivers/net/wireless/libertas/debugfs.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/wireless/libertas/debugfs.c b/drivers/net/wireless/libertas/debugfs.c
index 1545935f7a99..debefb6eab77 100644
--- a/drivers/net/wireless/libertas/debugfs.c
+++ b/drivers/net/wireless/libertas/debugfs.c
@@ -74,11 +74,9 @@ static ssize_t libertas_getscantable(struct file *file, char __user *userbuf,
memcpy(&cap, &iter_bss->cap, sizeof(cap));
pos += snprintf(buf+pos, len-pos,
- "%02u| %03d | %03ld | %02x:%02x:%02x:%02x:%02x:%02x |",
+ "%02u| %03d | %03ld | " MAC_FMT " |",
numscansdone, iter_bss->channel, iter_bss->rssi,
- iter_bss->bssid[0], iter_bss->bssid[1],
- iter_bss->bssid[2], iter_bss->bssid[3],
- iter_bss->bssid[4], iter_bss->bssid[5]);
+ MAC_ARG(iter_bss->bssid));
pos += snprintf(buf+pos, len-pos, " %04x-", cap);
pos += snprintf(buf+pos, len-pos, "%c%c%c |",
iter_bss->cap.ibss ? 'A' : 'I',
OpenPOWER on IntegriCloud