Skip to content

Commit

Permalink
mwl8k: Configuring correct MAC address in broadcast key
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Yogesh Ashok Powar authored and John W. Linville committed Jan 27, 2012
1 parent f1e3be1 commit ff7e9f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/mwl8k.c
Original file line number Diff line number Diff line change
Expand Up @@ -4093,7 +4093,7 @@ static int mwl8k_set_key(struct ieee80211_hw *hw,
return -EOPNOTSUPP;

if (sta == NULL)
addr = hw->wiphy->perm_addr;
addr = vif->addr;
else
addr = sta->addr;

Expand Down

0 comments on commit ff7e9f9

Please sign in to comment.