diff options
author | Dan Williams <dcbw@redhat.com> | 2007-05-25 17:27:31 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2007-06-11 14:28:42 -0400 |
commit | 02eb229bbded41d189f1ec57dbd264f80c93b5c6 (patch) | |
tree | ef14d5e2ea04027ec04f318f375cffc0c1d31fa7 /drivers/net/wireless/libertas/scan.c | |
parent | e76850d620a0a26fa807b4fa189c64a94789461e (diff) | |
download | kernel_samsung_tuna-02eb229bbded41d189f1ec57dbd264f80c93b5c6.zip kernel_samsung_tuna-02eb229bbded41d189f1ec57dbd264f80c93b5c6.tar.gz kernel_samsung_tuna-02eb229bbded41d189f1ec57dbd264f80c93b5c6.tar.bz2 |
[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/scan.c')
-rw-r--r-- | drivers/net/wireless/libertas/scan.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/drivers/net/wireless/libertas/scan.c b/drivers/net/wireless/libertas/scan.c index 334da0c..133be93 100644 --- a/drivers/net/wireless/libertas/scan.c +++ b/drivers/net/wireless/libertas/scan.c @@ -241,10 +241,8 @@ static void wlan_scan_process_results(wlan_private * priv) mutex_lock(&adapter->lock); list_for_each_entry (iter_bss, &adapter->network_list, list) { lbs_deb_scan("Scan:(%02d) " MAC_FMT ", RSSI[%03d], SSID[%s]\n", - i++, - iter_bss->bssid[0], iter_bss->bssid[1], iter_bss->bssid[2], - iter_bss->bssid[3], iter_bss->bssid[4], iter_bss->bssid[5], - (s32) iter_bss->rssi, iter_bss->ssid.ssid); + i++, MAC_ARG(iter_bss->bssid), (s32) iter_bss->rssi, + iter_bss->ssid.ssid); } mutex_unlock(&adapter->lock); } @@ -983,9 +981,7 @@ static int libertas_process_bss(struct bss_descriptor * bss, bytesleftforcurrentbeacon = beaconsize; memcpy(bss->bssid, pcurrentptr, ETH_ALEN); - lbs_deb_scan("process_bss: AP BSSID " MAC_FMT "\n", - bss->bssid[0], bss->bssid[1], bss->bssid[2], - bss->bssid[3], bss->bssid[4], bss->bssid[5]); + lbs_deb_scan("process_bss: AP BSSID " MAC_FMT "\n", MAC_ARG(bss->bssid)); pcurrentptr += ETH_ALEN; bytesleftforcurrentbeacon -= ETH_ALEN; |