[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>
This commit is contained in:

committed by
Jeff Garzik

parent
f06ac319c0
commit
72ca9c61cd
@@ -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);
|
||||
|
Reference in New Issue
Block a user