ath9k_htc: Fix packet injection
authorSujith Manoharan <Sujith.Manoharan@atheros.com>
Mon, 3 Jan 2011 15:52:18 +0000 (21:22 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 4 Jan 2011 19:46:14 +0000 (14:46 -0500)
commitcc72128750700d01c31f583a355c5f8f809498bb
treeaaa811a3d9c704b9bf94707e2043fe700bb2b3be
parenta8851d10aadb46b25db4459aa0d1150c957d2bc1
ath9k_htc: Fix packet injection

To inject a packet in monitor mode, a dummy station has
to be associated with the monitor interface in the target.
Failing to do this would result in a firmware crash on the device.

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