wl1251: initialise default channel to zero
authorKalle Valo <kalle.valo@nokia.com>
Fri, 7 Aug 2009 10:34:27 +0000 (13:34 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 14 Aug 2009 13:13:40 +0000 (09:13 -0400)
commit9780279c60c32cb5f14531aa34ae991bb714c90c
treea17dcab5b4da37c5c5d83f1a76ed3ca34101a38f
parent7a33732fd9f2181bfe639691ead3def7a1e87c7d
wl1251: initialise default channel to zero

Because wl->channel was initialised to one, the first join command in
wl1251_op_config() always failed.

Signed-off-by: Kalle Valo <kalle.valo@nokia.com>
Reviewed-by: Vidhya Govindan <vidhya.govindan@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wl12xx/wl1251.h
drivers/net/wireless/wl12xx/wl1251_main.c