Skip to content

Commit

Permalink
mwl8k: Traffic to clients gets affected when one client leaves a cyrp…
Browse files Browse the repository at this point in the history
…to 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>
  • Loading branch information
Nishant Sarmukadam authored and John W. Linville committed Aug 22, 2011
1 parent 25d49e4 commit a63d7e6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/net/wireless/mwl8k.c
Original file line number Diff line number Diff line change
Expand Up @@ -4097,9 +4097,6 @@ static int mwl8k_set_key(struct ieee80211_hw *hw,

if (rc)
goto out;

mwl8k_vif->is_hw_crypto_enabled = false;

}
out:
return rc;
Expand Down

0 comments on commit a63d7e6

Please sign in to comment.