]> git.ipfire.org Git - people/ummeegge/ipfire-2.x.git/blob - src/patches/suse-2.6.27.39/patches.fixes/iwlagn-debug-build-fix
Imported linux-2.6.27.39 suse/xen patches.
[people/ummeegge/ipfire-2.x.git] / src / patches / suse-2.6.27.39 / patches.fixes / iwlagn-debug-build-fix
1 From: Jeff Mahoney <jeffm@suse.com>
2 Subject: iwlagn: Fix build failure with CONFIG_IWLWIFI_DEBUG
3 References: bnc#551142
4 Patch-mainline: Never, replaced with pointer() %pM field
5
6 This patch fixes a missing declaration of the mac address
7 buffer. Since we don't build our release kernels with this
8 option enabled, it doesn't fail our normal builds. I'm
9 including it because the L3 and Desktop teams may need to use
10 it to create test kernels while debugging wireless problems on SLED.
11
12 Signed-off-by: Jeff Mahoney <jeffm@suse.com>
13 ---
14 drivers/net/wireless/iwlwifi/iwl-agn.c | 1 +
15 1 file changed, 1 insertion(+)
16
17 --- a/drivers/net/wireless/iwlwifi/iwl-agn.c
18 +++ b/drivers/net/wireless/iwlwifi/iwl-agn.c
19 @@ -3224,6 +3224,7 @@ static void iwl4965_mac_update_tkip_key(
20 struct ieee80211_key_conf *keyconf, const u8 *addr,
21 u32 iv32, u16 *phase1key)
22 {
23 + DECLARE_MAC_BUF(mac);
24 struct iwl_priv *priv = hw->priv;
25 u8 sta_id = IWL_INVALID_STATION;
26 unsigned long flags;