ath9k: Fix monitor mode handling
authorSujith <Sujith.Manoharan@atheros.com>
Fri, 8 Jan 2010 05:06:13 +0000 (10:36 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 12 Jan 2010 19:02:06 +0000 (14:02 -0500)
commit199afd9d89b18e8b530734ed73788518e19bed9b
treeaabf086ab2536a3e180ad26447aced0c0216654b
parent1395d3f00a4164caae168b041855d48e0fa9ea4c
ath9k: Fix monitor mode handling

mac80211 passes appropriate flags indicating whether
monitor mode is being used. Use this to set the HW opmode.

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