diff options
author | Hante Meuleman <meuleman@broadcom.com> | 2013-02-08 09:53:58 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-02-08 14:51:42 -0500 |
commit | 7ab6acd025cdca23485227d85d80cb747a71d1fc (patch) | |
tree | df4cb11d8c05e866d564d5899e380dca024cc096 | |
parent | dded3d532cbea8b96ae388b9bc173f1b2ec4d292 (diff) |
brcmfmac: Remove sleep on del_station.
Currently there is a sleep after disconnect on del_station. This
timeout is not needed (anymore) and is causing problems with p2p
setup, because remote side disconnects then supplicant will do
del_station and while it waits the 400ms remote side will already
reconnect and that is something supplicant cant handle.
Reviewed-by: Arend Van Spriel <arend@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Piotr Haber <phaber@broadcom.com>
Signed-off-by: Hante Meuleman <meuleman@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c b/drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c index e7ef8270726a..f283a7e969f0 100644 --- a/drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c +++ b/drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c | |||
@@ -3895,12 +3895,7 @@ brcmf_cfg80211_del_station(struct wiphy *wiphy, struct net_device *ndev, | |||
3895 | &scbval, sizeof(scbval)); | 3895 | &scbval, sizeof(scbval)); |
3896 | if (err) | 3896 | if (err) |
3897 | brcmf_err("SCB_DEAUTHENTICATE_FOR_REASON failed %d\n", err); | 3897 | brcmf_err("SCB_DEAUTHENTICATE_FOR_REASON failed %d\n", err); |
3898 | /* | 3898 | |
3899 | * Wait for the deauth event to come, supplicant will do the | ||
3900 | * delete iface immediately and we will have problem in sending | ||
3901 | * deauth frame if we delete the bss in firmware | ||
3902 | */ | ||
3903 | brcmf_delay(400); | ||
3904 | brcmf_dbg(TRACE, "Exit\n"); | 3899 | brcmf_dbg(TRACE, "Exit\n"); |
3905 | return err; | 3900 | return err; |
3906 | } | 3901 | } |