p54: enable proper frame injection
authorChristian Lamparter <chunkeey@web.de>
Sun, 21 Dec 2008 21:52:10 +0000 (22:52 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 29 Jan 2009 20:58:44 +0000 (15:58 -0500)
commit29701e5abf155d76fc8ab785a172c4ccf6cf47ee
treebdf9e9d5582a7754b124439b7674d56302918a6e
parenta15bd00543a859a72546e4b09342b70e79e9ef1e
p54: enable proper frame injection

This patch enables frame injection in monitor mode for all p54 devices.
As a result, any user can finally use the aircrack-ng suite out of the box.

e.g:
aireplay-ng --test wlan0
Trying broadcast probe requests...
Injection is working!
Found 1 AP

Trying directed probe requests...
XX:XX:XX:XX:XX:XX - channel: i - 'SSID'
Ping (min/avg/max): 1.536ms/3.193ms/4.377ms Power: 193.00
30/30: 100%

Signed-off-by: Christian Lamparter <chunkeey@web.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/p54/p54common.c