ath9k_htc: Really fix packet injection
authorSujith Manoharan <Sujith.Manoharan@atheros.com>
Tue, 4 Jan 2011 19:36:21 +0000 (01:06 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 10 Jan 2011 20:40:52 +0000 (15:40 -0500)
commit55de80d64545e5c4cca7f574fdf04b1f02a5f8fd
tree149179436e08a8983224fa6c896f28e324df52b7
parent4976b4eb9d083f035aa97afec560c7e1c16c6afd
ath9k_htc: Really fix packet injection

The chainmask value along with other configuration has to be set
on the target for packet injection. Fix this and also move the monitor
interface addition before the channel set segment to ensure that
the opmode is updated properly.

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