generic-2.6/config-2.6.23: add config entry for SENSORS_LM70
[openwrt/svn-archive/archive.git] / package / b43 / patches / 001-porting.patch
1 Index: b43/main.c
2 ===================================================================
3 --- b43.orig/main.c 2008-02-15 22:39:48.000000000 +0100
4 +++ b43/main.c 2008-02-15 22:45:38.000000000 +0100
5 @@ -2939,7 +2942,7 @@ static int b43_op_set_key(struct ieee802
6 u8 algorithm;
7 u8 index;
8 int err;
9 - DECLARE_MAC_BUF(mac);
10 +// DECLARE_MAC_BUF(mac);
11
12 if (modparam_nohwcrypt)
13 return -ENOSPC; /* User disabled HW-crypto */
14 @@ -3019,10 +3022,12 @@ out_unlock:
15 spin_unlock_irqrestore(&wl->irq_lock, flags);
16 mutex_unlock(&wl->mutex);
17 if (!err) {
18 +#if 0
19 b43dbg(wl, "%s hardware based encryption for keyidx: %d, "
20 "mac: %s\n",
21 cmd == SET_KEY ? "Using" : "Disabling", key->keyidx,
22 print_mac(mac, addr));
23 +#endif
24 }
25 return err;
26 }