]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb9cb8394ec44e109d6e0171a2c641d17f44b3abe
treea75515fb837989c5e4748cf44ba675cf8a270d40
parentd9c34cbcdc0d3d564866e3894b5ac01ae34bcfa3
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