diff options
author | Dan Williams <dcbw@redhat.com> | 2007-05-25 16:15:56 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2007-06-11 14:28:41 -0400 |
commit | fcdb53dbc743f288bf72e485fefb3a967b733686 (patch) | |
tree | ceafcff8076af2da654214e3b72caa7b15164a28 /drivers/net/wireless/libertas/dev.h | |
parent | 90e8eafc93ed159846bb7126af8502f2a8570a11 (diff) |
[PATCH] libertas: make scan result handling more flexible
- use a linked list for scan results
- age scan results
- pass bss_descriptors around instead of indexes into the scan table
- lock access to the scan results
- stop returning EAGAIN from SIOCGIWSCAN handler
Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/dev.h')
-rw-r--r-- | drivers/net/wireless/libertas/dev.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/wireless/libertas/dev.h b/drivers/net/wireless/libertas/dev.h index c43aa10f1a8b..41d8a4cdd43b 100644 --- a/drivers/net/wireless/libertas/dev.h +++ b/drivers/net/wireless/libertas/dev.h | |||
@@ -257,8 +257,10 @@ struct _wlan_adapter { | |||
257 | struct WLAN_802_11_SSID previousssid; | 257 | struct WLAN_802_11_SSID previousssid; |
258 | u8 previousbssid[ETH_ALEN]; | 258 | u8 previousbssid[ETH_ALEN]; |
259 | 259 | ||
260 | struct bss_descriptor *scantable; | 260 | /* Scan results list */ |
261 | u32 numinscantable; | 261 | struct list_head network_list; |
262 | struct list_head network_free_list; | ||
263 | struct bss_descriptor *networks; | ||
262 | 264 | ||
263 | u8 scantype; | 265 | u8 scantype; |
264 | u32 scanmode; | 266 | u32 scanmode; |