summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rndis_wlan.c
diff options
context:
space:
mode:
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>2009-08-28 12:59:05 +0300
committerJohn W. Linville <linville@tuxdriver.com>2009-08-28 14:40:56 -0400
commitb1d25a67647efacf2a9f2a1800f0c8195827f923 (patch)
tree4f0dc9e47c6d2ac3d16f041810728dab67c549b9 /drivers/net/wireless/rndis_wlan.c
parent5fd8f2503b0888ed0c8e0017264059a3f9dc51c0 (diff)
downloadblackbird-op-linux-b1d25a67647efacf2a9f2a1800f0c8195827f923.tar.gz
blackbird-op-linux-b1d25a67647efacf2a9f2a1800f0c8195827f923.zip
rndis_wlan: increase scan timer delay
Increase scan delay from 1 sec to 6 sec. Spec says that scan by OID_802_11_BSSID_LIST_SCAN completes in 6 seconds. Before rfkill patch too short delay was not problem as device was always active (radio on) and performing background scanning. Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rndis_wlan.c')
-rw-r--r--drivers/net/wireless/rndis_wlan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rndis_wlan.c b/drivers/net/wireless/rndis_wlan.c
index 2309ad2214a0..cb362b086ff6 100644
--- a/drivers/net/wireless/rndis_wlan.c
+++ b/drivers/net/wireless/rndis_wlan.c
@@ -1607,7 +1607,7 @@ static int rndis_get_tx_power(struct wiphy *wiphy, int *dbm)
}
-#define SCAN_DELAY_JIFFIES (HZ)
+#define SCAN_DELAY_JIFFIES (6 * HZ)
static int rndis_scan(struct wiphy *wiphy, struct net_device *dev,
struct cfg80211_scan_request *request)
{
OpenPOWER on IntegriCloud