diff options
author | Dan Williams <dcbw@redhat.com> | 2007-05-28 23:54:55 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2007-06-11 14:28:46 -0400 |
commit | d8efea254887128d710cc1475505514da004932c (patch) | |
tree | 450ce4f6bbc1fca6468de784c1ce7b6d34b2059e /drivers/net/wireless/libertas/dev.h | |
parent | 785e8f2679ce9ae703f1c737aa4d48b315d511ca (diff) |
[PATCH] libertas: remove structure WLAN_802_11_SSID and libertas_escape_essid
Replace WLAN_802_11_SSID with direct 'ssid' and 'ssid_len' members
like ieee80211. In the process, remove private libertas_escape_essid
and depend on the ieee80211 implementation of escape_essid 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/dev.h')
-rw-r--r-- | drivers/net/wireless/libertas/dev.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/drivers/net/wireless/libertas/dev.h b/drivers/net/wireless/libertas/dev.h index 91ac744ab9bc..d6c340aef681 100644 --- a/drivers/net/wireless/libertas/dev.h +++ b/drivers/net/wireless/libertas/dev.h | |||
@@ -66,7 +66,8 @@ struct current_bss_params { | |||
66 | /** bssid */ | 66 | /** bssid */ |
67 | u8 bssid[ETH_ALEN]; | 67 | u8 bssid[ETH_ALEN]; |
68 | /** ssid */ | 68 | /** ssid */ |
69 | struct WLAN_802_11_SSID ssid; | 69 | u8 ssid[IW_ESSID_MAX_SIZE + 1]; |
70 | u8 ssid_len; | ||
70 | 71 | ||
71 | /** band */ | 72 | /** band */ |
72 | u8 band; | 73 | u8 band; |
@@ -178,7 +179,8 @@ struct assoc_request { | |||
178 | #define ASSOC_FLAG_WPA_IE 11 | 179 | #define ASSOC_FLAG_WPA_IE 11 |
179 | unsigned long flags; | 180 | unsigned long flags; |
180 | 181 | ||
181 | struct WLAN_802_11_SSID ssid; | 182 | u8 ssid[IW_ESSID_MAX_SIZE + 1]; |
183 | u8 ssid_len; | ||
182 | u8 channel; | 184 | u8 channel; |
183 | u8 band; | 185 | u8 band; |
184 | u8 mode; | 186 | u8 mode; |
@@ -256,8 +258,9 @@ struct _wlan_adapter { | |||
256 | /* IW_MODE_* */ | 258 | /* IW_MODE_* */ |
257 | u8 mode; | 259 | u8 mode; |
258 | 260 | ||
259 | struct WLAN_802_11_SSID previousssid; | 261 | u8 prev_ssid[IW_ESSID_MAX_SIZE + 1]; |
260 | u8 previousbssid[ETH_ALEN]; | 262 | u8 prev_ssid_len; |
263 | u8 prev_bssid[ETH_ALEN]; | ||
261 | 264 | ||
262 | /* Scan results list */ | 265 | /* Scan results list */ |
263 | struct list_head network_list; | 266 | struct list_head network_list; |