staging: brcm80211: brcmfmac: Fixed issues with iscan
authorSukesh Srikakula <sukeshs@broadcom.com>
Mon, 8 Aug 2011 13:58:13 +0000 (15:58 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Aug 2011 20:00:00 +0000 (13:00 -0700)
commitdb25e44b9fa9e04f18122aed5bd4dedf45c7dd9c
treee178e465511069a7be57bbe8a114b5aa654ae573
parent8ea54c9f140bb5eecf3f9e9b02043bbfcff80eb5
staging: brcm80211: brcmfmac: Fixed issues with iscan

Disabling the interface doesn't terminate undergoing
iscan in FW. When the interface is enabled immediately,
first scan request is returning the stale scan results,
which are populated during the earlier iscan. These stale
scan results are causing random failures with chromium
auto test cases.

With this patch, iscan will be terminated in FW whenever
iscan thread is terminated by the host driver.

Signed-off-by: Sukesh Srikakula <sukeshs@broadcom.com>
Reviewed-by: Arend van Spriel <arend@broadcom.com>
Reviewed-by: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c