diff options
author | Nishant Sarmukadam <nishants@marvell.com> | 2011-08-12 02:50:21 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-08-22 14:46:00 -0400 |
commit | a63d7e67fc259249c563878f8e296a2ed6def039 (patch) | |
tree | 755a3940dc4c4e3f40b9849856bab869e333ffb0 /drivers/net/wireless | |
parent | 25d49e4d63564c7004a4d6735d1d8c3cc41a7394 (diff) |
mwl8k: Traffic to clients gets affected when one client leaves a cyrpto bss
When a client disassociates from a crypto enabled bss, data traffic to
other clients connected to the bss is stalled. This was due to a boolean
variable used to keep track if HW crypto is enabled i.e. if set key has
been called to add a key. This flag was being reset every time delete
key was called e.g when a station leaves the bss. Once the flag is
reset, rx status flags were not being set for connected clients which
disrupts traffic to these clients. Fix this issue by not resetting the
flag since we do not need to reset this flag during the life time of the
bss.
Signed-off-by: Nishant Sarmukadam <nishants@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/mwl8k.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/mwl8k.c b/drivers/net/wireless/mwl8k.c index da36dbf8d871..771280a47ea7 100644 --- a/drivers/net/wireless/mwl8k.c +++ b/drivers/net/wireless/mwl8k.c | |||
@@ -4097,9 +4097,6 @@ static int mwl8k_set_key(struct ieee80211_hw *hw, | |||
4097 | 4097 | ||
4098 | if (rc) | 4098 | if (rc) |
4099 | goto out; | 4099 | goto out; |
4100 | |||
4101 | mwl8k_vif->is_hw_crypto_enabled = false; | ||
4102 | |||
4103 | } | 4100 | } |
4104 | out: | 4101 | out: |
4105 | return rc; | 4102 | return rc; |