summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/hostap
diff options
context:
space:
mode:
authorPavel Roskin <proski@gnu.org>2008-06-27 22:20:16 +0200
committerJohn W. Linville <linville@tuxdriver.com>2008-06-30 23:37:36 +0200
commit7cd8d3ea5173bb4b0dc3e84497048a5e3a14aec8 (patch)
treea8bb5aadf47191f349786b5ce3d1fd0ab6d45d4b /drivers/net/wireless/hostap
parenthostap: add radiotap support in monitor mode (diff)
downloadlinux-7cd8d3ea5173bb4b0dc3e84497048a5e3a14aec8.tar.xz
linux-7cd8d3ea5173bb4b0dc3e84497048a5e3a14aec8.zip
hostap: use radiotap headers by default
Signed-off-by: Pavel Roskin <proski@gnu.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/hostap')
-rw-r--r--drivers/net/wireless/hostap/hostap_hw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/hostap/hostap_hw.c b/drivers/net/wireless/hostap/hostap_hw.c
index cdf90c40f11b..79a9bc95d2a7 100644
--- a/drivers/net/wireless/hostap/hostap_hw.c
+++ b/drivers/net/wireless/hostap/hostap_hw.c
@@ -3204,6 +3204,7 @@ prism2_init_local_data(struct prism2_helper_functions *funcs, int card_idx,
local->auth_algs = PRISM2_AUTH_OPEN | PRISM2_AUTH_SHARED_KEY;
local->sram_type = -1;
local->scan_channel_mask = 0xffff;
+ local->monitor_type = PRISM2_MONITOR_RADIOTAP;
/* Initialize task queue structures */
INIT_WORK(&local->reset_queue, handle_reset_queue);