]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
mwl8k: Traffic to clients gets affected when one client leaves a cyrpto bss
authorNishant Sarmukadam <nishants@marvell.com>
Fri, 12 Aug 2011 06:50:21 +0000 (12:20 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 22 Aug 2011 18:46:00 +0000 (14:46 -0400)
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>
drivers/net/wireless/mwl8k.c

index da36dbf8d87118e51b2c94946b2fddfea043baca..771280a47ea7c66da2f1d74fa2fb92e4c4a9fe46 100644 (file)
@@ -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;