diff options
author | Dan Williams <dcbw@redhat.com> | 2007-05-10 22:58:02 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2007-05-11 14:54:54 -0400 |
commit | 0dc5a29044d56912bf0d4e5cd19127f82b90c29c (patch) | |
tree | 6b9432572a96232da24314b3fa6924d63042028e /drivers/net/wireless/libertas/scan.h | |
parent | 889c05bdf3056b029b9fa95096eac4f0dfd3fb6f (diff) |
[PATCH] libertas: remove WLAN_802_11_NETWORK_INFRASTRUCTURE enum
Use standard IW_MODE_* constants instead.
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.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/drivers/net/wireless/libertas/scan.h b/drivers/net/wireless/libertas/scan.h index 486bdc4f0935..405f4f0fe575 100644 --- a/drivers/net/wireless/libertas/scan.h +++ b/drivers/net/wireless/libertas/scan.h | |||
@@ -153,7 +153,7 @@ struct bss_descriptor { | |||
153 | 153 | ||
154 | u32 atimwindow; | 154 | u32 atimwindow; |
155 | 155 | ||
156 | enum WLAN_802_11_NETWORK_INFRASTRUCTURE inframode; | 156 | u8 mode; |
157 | u8 libertas_supported_rates[WLAN_SUPPORTED_RATES]; | 157 | u8 libertas_supported_rates[WLAN_SUPPORTED_RATES]; |
158 | 158 | ||
159 | int extra_ie; | 159 | int extra_ie; |
@@ -177,14 +177,13 @@ struct bss_descriptor { | |||
177 | extern int libertas_SSID_cmp(struct WLAN_802_11_SSID *ssid1, | 177 | extern int libertas_SSID_cmp(struct WLAN_802_11_SSID *ssid1, |
178 | struct WLAN_802_11_SSID *ssid2); | 178 | struct WLAN_802_11_SSID *ssid2); |
179 | extern int libertas_find_SSID_in_list(wlan_adapter * adapter, struct WLAN_802_11_SSID *ssid, | 179 | extern int libertas_find_SSID_in_list(wlan_adapter * adapter, struct WLAN_802_11_SSID *ssid, |
180 | u8 * bssid, int mode); | 180 | u8 * bssid, u8 mode); |
181 | int libertas_find_best_SSID_in_list(wlan_adapter * adapter, enum WLAN_802_11_NETWORK_INFRASTRUCTURE mode); | 181 | int libertas_find_best_SSID_in_list(wlan_adapter * adapter, u8 mode); |
182 | extern int libertas_find_BSSID_in_list(wlan_adapter * adapter, u8 * bssid, int mode); | 182 | extern int libertas_find_BSSID_in_list(wlan_adapter * adapter, u8 * bssid, u8 mode); |
183 | 183 | ||
184 | int libertas_find_best_network_SSID(wlan_private * priv, | 184 | int libertas_find_best_network_SSID(wlan_private * priv, |
185 | struct WLAN_802_11_SSID *pSSID, | 185 | struct WLAN_802_11_SSID *pSSID, |
186 | enum WLAN_802_11_NETWORK_INFRASTRUCTURE preferred_mode, | 186 | u8 preferred_mode, u8 *out_mode); |
187 | enum WLAN_802_11_NETWORK_INFRASTRUCTURE *out_mode); | ||
188 | 187 | ||
189 | extern int libertas_send_specific_SSID_scan(wlan_private * priv, | 188 | extern int libertas_send_specific_SSID_scan(wlan_private * priv, |
190 | struct WLAN_802_11_SSID *prequestedssid, | 189 | struct WLAN_802_11_SSID *prequestedssid, |