aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwl8k.c
diff options
context:
space:
mode:
authorYogesh Ashok Powar <yogeshp@marvell.com>2012-01-27 05:38:27 -0500
committerJohn W. Linville <linville@tuxdriver.com>2012-01-27 14:57:07 -0500
commitff7e9f99f7effb385a9be2f7198743c1ad2bb126 (patch)
tree885d6b06007d1765403eb0843d1f2bbc3ffd15b4 /drivers/net/wireless/mwl8k.c
parentf1e3be1561c43b6bbe2426e34849fb1486dc313b (diff)
mwl8k: Configuring correct MAC address in broadcast key
While configuring the broadcast key in the hardware, in multi-BSS environment, BSSes other than first were incorrectly configured with the MAC address of first BSS. Fixing it with correct MAC addresses. Signed-off-by: Yogesh Ashok Powar <yogeshp@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwl8k.c')
-rw-r--r--drivers/net/wireless/mwl8k.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mwl8k.c b/drivers/net/wireless/mwl8k.c
index dd5aeaff44ba..fd125473be7a 100644
--- a/drivers/net/wireless/mwl8k.c
+++ b/drivers/net/wireless/mwl8k.c
@@ -4093,7 +4093,7 @@ static int mwl8k_set_key(struct ieee80211_hw *hw,
4093 return -EOPNOTSUPP; 4093 return -EOPNOTSUPP;
4094 4094
4095 if (sta == NULL) 4095 if (sta == NULL)
4096 addr = hw->wiphy->perm_addr; 4096 addr = vif->addr;
4097 else 4097 else
4098 addr = sta->addr; 4098 addr = sta->addr;
4099 4099