diff options
author | Jouni Malinen <jkmaline@cc.hut.fi> | 2005-07-30 15:50:01 -0400 |
---|---|---|
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, | |||
3374 | * cnfDbmAdjust, if available */ | 3374 | * cnfDbmAdjust, if available */ |
3375 | local->auth_algs = PRISM2_AUTH_OPEN | PRISM2_AUTH_SHARED_KEY; | 3375 | local->auth_algs = PRISM2_AUTH_OPEN | PRISM2_AUTH_SHARED_KEY; |
3376 | local->sram_type = -1; | 3376 | local->sram_type = -1; |
3377 | local->scan_channel_mask = 0xffff; | ||
3377 | #if defined(PRISM2_PCI) && defined(PRISM2_BUS_MASTER) | 3378 | #if defined(PRISM2_PCI) && defined(PRISM2_BUS_MASTER) |
3378 | local->bus_master_threshold_rx = GET_INT_PARM(bus_master_threshold_rx, | 3379 | local->bus_master_threshold_rx = GET_INT_PARM(bus_master_threshold_rx, |
3379 | card_idx); | 3380 | card_idx); |