diff options
author | Jouni Malinen <jkmaline@cc.hut.fi> | 2005-07-30 12:50:01 -0700 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-07-30 18:17:22 -0400 |
commit | 72ca9c61cddb82a8596cee8141656d50aba42be5 (patch) | |
tree | fe2fa88ebe7d39538e6d4789d29db0e5a58b50b3 /drivers/net/wireless/hostap/hostap_hw.c | |
parent | f06ac319c05c6822f878f201ae80e54fbbe8be8c (diff) |
[PATCH] hostap update
Added support for setting channel mask for scan requests
('iwpriv wlan0 scan_channels 0x00ff' masks scans to use channels 1-8).
Signed-off-by: Jouni Malinen <jkmaline@cc.hut.fi>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net/wireless/hostap/hostap_hw.c')
-rw-r--r-- | drivers/net/wireless/hostap/hostap_hw.c | 1 |
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 7572050db32..b4f7feb669e 100644 --- a/drivers/net/wireless/hostap/hostap_hw.c +++ b/drivers/net/wireless/hostap/hostap_hw.c @@ -3374,6 +3374,7 @@ prism2_init_local_data(struct prism2_helper_functions *funcs, int card_idx, * cnfDbmAdjust, if available */ local->auth_algs = PRISM2_AUTH_OPEN | PRISM2_AUTH_SHARED_KEY; local->sram_type = -1; + local->scan_channel_mask = 0xffff; #if defined(PRISM2_PCI) && defined(PRISM2_BUS_MASTER) local->bus_master_threshold_rx = GET_INT_PARM(bus_master_threshold_rx, card_idx); |