aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43legacy/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/b43legacy/main.c')
-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 ac4831adb57..61b94218094 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,
struct b43legacy_wldev *dev = wl->current_dev;
unsigned long flags;
int err = -EOPNOTSUPP;
+ DECLARE_MAC_BUF(mac);
if (!dev)
return -ENODEV;
@@ -2691,7 +2692,7 @@ static int b43legacy_dev_set_key(struct ieee80211_hw *hw,
spin_unlock_irqrestore(&wl->irq_lock, flags);
mutex_unlock(&wl->mutex);
b43legacydbg(wl, "Using software based encryption for "
- "mac: " MAC_FMT "\n", MAC_ARG(addr));
+ "mac: %s\n", print_mac(mac, addr));
return err;
}