diff options
author | Dan Williams <dcbw@redhat.com> | 2007-05-25 23:27:31 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2007-06-11 20:28:42 +0200 |
commit | 02eb229bbded41d189f1ec57dbd264f80c93b5c6 (patch) | |
tree | ef14d5e2ea04027ec04f318f375cffc0c1d31fa7 /drivers/net/wireless/libertas/debugfs.c | |
parent | [PATCH] libertas: make association paths consistent (diff) | |
download | linux-02eb229bbded41d189f1ec57dbd264f80c93b5c6.tar.xz 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.c | 6 |
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', |