aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43legacy
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2007-10-03 20:59:30 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 19:51:42 -0400
commit0795af5729b18218767fab27c44b1384f72dc9ad (patch)
tree67c16df84aa6ec219340b8ea1b5cfb0e8150a216 /drivers/net/wireless/b43legacy
parent95ea36275f3c9a1d3d04c217b4b576c657c4e70e (diff)
[NET]: Introduce and use print_mac() and DECLARE_MAC_BUF()
This is nicer than the MAC_FMT stuff. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/b43legacy')
-rw-r--r--drivers/net/wireless/b43legacy/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/b43legacy/main.c b/drivers/net/wireless/b43legacy/main.c
index ac4831adb574..61b94218094b 100644
--- a/drivers/net/wireless/b43legacy/main.c
+++ b/drivers/net/wireless/b43legacy/main.c
@@ -2679,6 +2679,7 @@ static int b43legacy_dev_set_key(struct ieee80211_hw *hw,
2679 struct b43legacy_wldev *dev = wl->current_dev; 2679 struct b43legacy_wldev *dev = wl->current_dev;
2680 unsigned long flags; 2680 unsigned long flags;
2681 int err = -EOPNOTSUPP; 2681 int err = -EOPNOTSUPP;
2682 DECLARE_MAC_BUF(mac);
2682 2683
2683 if (!dev) 2684 if (!dev)
2684 return -ENODEV; 2685 return -ENODEV;
@@ -2691,7 +2692,7 @@ static int b43legacy_dev_set_key(struct ieee80211_hw *hw,
2691 spin_unlock_irqrestore(&wl->irq_lock, flags); 2692 spin_unlock_irqrestore(&wl->irq_lock, flags);
2692 mutex_unlock(&wl->mutex); 2693 mutex_unlock(&wl->mutex);
2693 b43legacydbg(wl, "Using software based encryption for " 2694 b43legacydbg(wl, "Using software based encryption for "
2694 "mac: " MAC_FMT "\n", MAC_ARG(addr)); 2695 "mac: %s\n", print_mac(mac, addr));
2695 return err; 2696 return err;
2696} 2697}
2697 2698