rndis_wlan: workaround poor scanning with BCM4320a
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>
Tue, 9 Nov 2010 17:25:56 +0000 (19:25 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 16 Nov 2010 21:37:04 +0000 (16:37 -0500)
commit5cb56af29be8d12f74afcb2c1de91e51a577bd52
treef1e78de11a9d1ca92aeaaac13f2dae040858c33c
parentb5257c952dda24df7078c74b7b811b44c6e49206
rndis_wlan: workaround poor scanning with BCM4320a

BCM4320a devices seem to sometimes do scanning pretty poorly. This can be
workaround by issuing new scan every second, while not yet connected. By this
new scanning method device catches beacons much faster. Fixes bug #20822.

Reported-by: Luís Picciochi <Pitxyoki@gmail.com>
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rndis_wlan.c