mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-18 11:16:16 +02:00
e6b6adc799
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10490 3c298f89-4303-0410-b956-a3cf2f4a3e73
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;
|
|
}
|