mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 16:31:13 +00:00
c57ca284ce
SVN-Revision: 10490
27 lines
765 B
Diff
27 lines
765 B
Diff
Index: b43/main.c
|
|
===================================================================
|
|
--- b43.orig/main.c 2008-02-15 22:39:48.000000000 +0100
|
|
+++ b43/main.c 2008-02-15 22:45:38.000000000 +0100
|
|
@@ -2939,7 +2942,7 @@ static int b43_op_set_key(struct ieee802
|
|
u8 algorithm;
|
|
u8 index;
|
|
int err;
|
|
- DECLARE_MAC_BUF(mac);
|
|
+// DECLARE_MAC_BUF(mac);
|
|
|
|
if (modparam_nohwcrypt)
|
|
return -ENOSPC; /* User disabled HW-crypto */
|
|
@@ -3019,10 +3022,12 @@ out_unlock:
|
|
spin_unlock_irqrestore(&wl->irq_lock, flags);
|
|
mutex_unlock(&wl->mutex);
|
|
if (!err) {
|
|
+#if 0
|
|
b43dbg(wl, "%s hardware based encryption for keyidx: %d, "
|
|
"mac: %s\n",
|
|
cmd == SET_KEY ? "Using" : "Disabling", key->keyidx,
|
|
print_mac(mac, addr));
|
|
+#endif
|
|
}
|
|
return err;
|
|
}
|