diff options
author | Dan Williams <dcbw@redhat.com> | 2007-05-29 00:03:31 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2007-06-11 14:28:46 -0400 |
commit | 717c9339202a42ae7bec7d3c4b84deecdcae9f81 (patch) | |
tree | 5c2e770dfd36e59e9a3a0d4a4d316f8c707b25fb /drivers/net/wireless/libertas/assoc.c | |
parent | 8cf1dc098fda226a0c3baa27ec737ce041acbb46 (diff) |
[PATCH] libertas: reduce SSID and BSSID mixed-case abuse
Kill mixed case function names from scan.c/scan.h.
Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/assoc.c')
-rw-r--r-- | drivers/net/wireless/libertas/assoc.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/net/wireless/libertas/assoc.c b/drivers/net/wireless/libertas/assoc.c index c2029b397503..ee82413b426d 100644 --- a/drivers/net/wireless/libertas/assoc.c +++ b/drivers/net/wireless/libertas/assoc.c | |||
@@ -58,11 +58,11 @@ static int assoc_helper_essid(wlan_private *priv, | |||
58 | escape_essid(assoc_req->ssid, assoc_req->ssid_len)); | 58 | escape_essid(assoc_req->ssid, assoc_req->ssid_len)); |
59 | if (assoc_req->mode == IW_MODE_INFRA) { | 59 | if (assoc_req->mode == IW_MODE_INFRA) { |
60 | if (adapter->prescan) { | 60 | if (adapter->prescan) { |
61 | libertas_send_specific_SSID_scan(priv, assoc_req->ssid, | 61 | libertas_send_specific_ssid_scan(priv, assoc_req->ssid, |
62 | assoc_req->ssid_len, 0); | 62 | assoc_req->ssid_len, 0); |
63 | } | 63 | } |
64 | 64 | ||
65 | bss = libertas_find_SSID_in_list(adapter, assoc_req->ssid, | 65 | bss = libertas_find_ssid_in_list(adapter, assoc_req->ssid, |
66 | assoc_req->ssid_len, NULL, IW_MODE_INFRA, channel); | 66 | assoc_req->ssid_len, NULL, IW_MODE_INFRA, channel); |
67 | if (bss != NULL) { | 67 | if (bss != NULL) { |
68 | lbs_deb_assoc("SSID found in scan list, associating\n"); | 68 | lbs_deb_assoc("SSID found in scan list, associating\n"); |
@@ -75,11 +75,11 @@ static int assoc_helper_essid(wlan_private *priv, | |||
75 | /* Scan for the network, do not save previous results. Stale | 75 | /* Scan for the network, do not save previous results. Stale |
76 | * scan data will cause us to join a non-existant adhoc network | 76 | * scan data will cause us to join a non-existant adhoc network |
77 | */ | 77 | */ |
78 | libertas_send_specific_SSID_scan(priv, assoc_req->ssid, | 78 | libertas_send_specific_ssid_scan(priv, assoc_req->ssid, |
79 | assoc_req->ssid_len, 1); | 79 | assoc_req->ssid_len, 1); |
80 | 80 | ||
81 | /* Search for the requested SSID in the scan table */ | 81 | /* Search for the requested SSID in the scan table */ |
82 | bss = libertas_find_SSID_in_list(adapter, assoc_req->ssid, | 82 | bss = libertas_find_ssid_in_list(adapter, assoc_req->ssid, |
83 | assoc_req->ssid_len, NULL, IW_MODE_ADHOC, channel); | 83 | assoc_req->ssid_len, NULL, IW_MODE_ADHOC, channel); |
84 | if (bss != NULL) { | 84 | if (bss != NULL) { |
85 | lbs_deb_assoc("SSID found, will join\n"); | 85 | lbs_deb_assoc("SSID found, will join\n"); |
@@ -111,7 +111,7 @@ static int assoc_helper_bssid(wlan_private *priv, | |||
111 | MAC_ARG(assoc_req->bssid)); | 111 | MAC_ARG(assoc_req->bssid)); |
112 | 112 | ||
113 | /* Search for index position in list for requested MAC */ | 113 | /* Search for index position in list for requested MAC */ |
114 | bss = libertas_find_BSSID_in_list(adapter, assoc_req->bssid, | 114 | bss = libertas_find_bssid_in_list(adapter, assoc_req->bssid, |
115 | assoc_req->mode); | 115 | assoc_req->mode); |
116 | if (bss == NULL) { | 116 | if (bss == NULL) { |
117 | lbs_deb_assoc("ASSOC: WAP: BSSID " MAC_FMT " not found, " | 117 | lbs_deb_assoc("ASSOC: WAP: BSSID " MAC_FMT " not found, " |
@@ -419,7 +419,7 @@ static int should_stop_adhoc(wlan_adapter *adapter, | |||
419 | if (adapter->connect_status != libertas_connected) | 419 | if (adapter->connect_status != libertas_connected) |
420 | return 0; | 420 | return 0; |
421 | 421 | ||
422 | if (libertas_SSID_cmp(adapter->curbssparams.ssid, | 422 | if (libertas_ssid_cmp(adapter->curbssparams.ssid, |
423 | adapter->curbssparams.ssid_len, | 423 | adapter->curbssparams.ssid_len, |
424 | assoc_req->ssid, assoc_req->ssid_len) != 0) | 424 | assoc_req->ssid, assoc_req->ssid_len) != 0) |
425 | return 1; | 425 | return 1; |
@@ -475,7 +475,7 @@ void libertas_association_worker(struct work_struct *work) | |||
475 | if (find_any_ssid) { | 475 | if (find_any_ssid) { |
476 | u8 new_mode; | 476 | u8 new_mode; |
477 | 477 | ||
478 | ret = libertas_find_best_network_SSID(priv, assoc_req->ssid, | 478 | ret = libertas_find_best_network_ssid(priv, assoc_req->ssid, |
479 | &assoc_req->ssid_len, assoc_req->mode, &new_mode); | 479 | &assoc_req->ssid_len, assoc_req->mode, &new_mode); |
480 | if (ret) { | 480 | if (ret) { |
481 | lbs_deb_assoc("Could not find best network\n"); | 481 | lbs_deb_assoc("Could not find best network\n"); |