ath9k_htc: Initialize HW opmode
authorSujith <Sujith.Manoharan@atheros.com>
Mon, 29 Mar 2010 10:37:20 +0000 (16:07 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 31 Mar 2010 18:46:40 +0000 (14:46 -0400)
commit9f01a84e81d10e38daa504348217895fe414a24b
treea75515fb837989c5e4748cf44ba675cf8a270d40
parent7757dfed5809b03aa61c7d7f5ff8092f85df8583
ath9k_htc: Initialize HW opmode

Not setting the opmode properly during initialization
results in the firmware sending up a bunch of packets
before add_interface() has been called, for the first
interface.

This patch fixes the issue by setting the initial mode
to 'managed'.

Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/htc_drv_init.c