aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/b43/main.c')
-rw-r--r--drivers/net/wireless/b43/main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c
index 184ebe3ed738..fd4ef27fcf25 100644
--- a/drivers/net/wireless/b43/main.c
+++ b/drivers/net/wireless/b43/main.c
@@ -2883,6 +2883,7 @@ static int b43_dev_set_key(struct ieee80211_hw *hw,
2883 u8 algorithm; 2883 u8 algorithm;
2884 u8 index; 2884 u8 index;
2885 int err = -EINVAL; 2885 int err = -EINVAL;
2886 DECLARE_MAC_BUF(mac);
2886 2887
2887 if (modparam_nohwcrypt) 2888 if (modparam_nohwcrypt)
2888 return -ENOSPC; /* User disabled HW-crypto */ 2889 return -ENOSPC; /* User disabled HW-crypto */
@@ -2969,9 +2970,9 @@ out_unlock:
2969out: 2970out:
2970 if (!err) { 2971 if (!err) {
2971 b43dbg(wl, "%s hardware based encryption for keyidx: %d, " 2972 b43dbg(wl, "%s hardware based encryption for keyidx: %d, "
2972 "mac: " MAC_FMT "\n", 2973 "mac: %s\n",
2973 cmd == SET_KEY ? "Using" : "Disabling", key->keyidx, 2974 cmd == SET_KEY ? "Using" : "Disabling", key->keyidx,
2974 MAC_ARG(addr)); 2975 print_mac(mac, addr));
2975 } 2976 }
2976 return err; 2977 return err;
2977} 2978}