]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit581a86bb15ead502faac6fd61ce30151e31c2239
tree149179436e08a8983224fa6c896f28e324df52b7
parent8c8dc2fe3c07f82f663f54d8c48a4d3027a5da15
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