summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/scan.h
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2007-05-25 22:30:48 -0400
committerJohn W. Linville <linville@tuxdriver.com>2007-06-11 14:28:43 -0400
commitaeea0ab45ae3d761064ca926863bb41f0ad167ce (patch)
tree014af0acbc6920cb0cea7e3cb9377365f8ade54e /drivers/net/wireless/libertas/scan.h
parentac26f81ccecc23ad5d8c20ebe1dd482fa395298b (diff)
downloadblackbird-op-linux-aeea0ab45ae3d761064ca926863bb41f0ad167ce.tar.gz
blackbird-op-linux-aeea0ab45ae3d761064ca926863bb41f0ad167ce.zip
[PATCH] libertas: honor specific channel requests during association
Previously if a fixed channel was specified along with an SSID, the channel request would be ignored during the association process. Instead, when searching for an adhoc or infrastructure network to join, allow filtering results based on channel so that the driver doesn't pick a BSS on a different channel than requested. Signed-off-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/scan.h')
-rw-r--r--drivers/net/wireless/libertas/scan.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/scan.h b/drivers/net/wireless/libertas/scan.h
index 4ad130ff6e7e..df7481c11f68 100644
--- a/drivers/net/wireless/libertas/scan.h
+++ b/drivers/net/wireless/libertas/scan.h
@@ -178,7 +178,8 @@ extern int libertas_SSID_cmp(struct WLAN_802_11_SSID *ssid1,
struct WLAN_802_11_SSID *ssid2);
struct bss_descriptor * libertas_find_SSID_in_list(wlan_adapter * adapter,
- struct WLAN_802_11_SSID *ssid, u8 * bssid, u8 mode);
+ struct WLAN_802_11_SSID *ssid, u8 * bssid, u8 mode,
+ int channel);
struct bss_descriptor * libertas_find_best_SSID_in_list(wlan_adapter * adapter,
u8 mode);
OpenPOWER on IntegriCloud