rndis_wlan: enable infrastructure before setting random essid
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>
Fri, 28 Aug 2009 09:59:26 +0000 (12:59 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 28 Aug 2009 18:40:57 +0000 (14:40 -0400)
commit9f77ccab57534f45b0289ceae3a6b85478d14182
tree1e155ec129d770d60db85d59e58eaf4ea178838b
parent161391725eba1f07e98594369cfcb10c848ef352
rndis_wlan: enable infrastructure before setting random essid

Random essid must be set to turn on radio when not connected. If device is
in ad-hoc mode, this results 'media connect' indications with the random
essid which should be ignored.

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rndis_wlan.c