diff options
author | David Woodhouse <dwmw2@infradead.org> | 2007-12-08 15:04:36 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:06:19 -0500 |
commit | aa21c004f80bdf943736c62dccf0c0398d7824f3 (patch) | |
tree | 6815328775d3b5ec46bb342c4c256cde0f223863 /drivers/net/wireless/libertas/scan.h | |
parent | f86a93e1b2d05a7a38a48c91f8fb8fc7e8f1c734 (diff) |
libertas: kill struct lbs_adapter
There seems to be no reason for a separate structure; move it all
into struct lbs_private.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
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 | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/wireless/libertas/scan.h b/drivers/net/wireless/libertas/scan.h index 9b62e2b01f68..319f70dde350 100644 --- a/drivers/net/wireless/libertas/scan.h +++ b/drivers/net/wireless/libertas/scan.h | |||
@@ -10,8 +10,6 @@ | |||
10 | #include <net/ieee80211.h> | 10 | #include <net/ieee80211.h> |
11 | #include "hostcmd.h" | 11 | #include "hostcmd.h" |
12 | 12 | ||
13 | struct lbs_adapter; | ||
14 | |||
15 | /** | 13 | /** |
16 | * @brief Maximum number of channels that can be sent in a setuserscan ioctl | 14 | * @brief Maximum number of channels that can be sent in a setuserscan ioctl |
17 | * | 15 | * |
@@ -168,11 +166,11 @@ struct bss_descriptor { | |||
168 | 166 | ||
169 | int lbs_ssid_cmp(u8 *ssid1, u8 ssid1_len, u8 *ssid2, u8 ssid2_len); | 167 | int lbs_ssid_cmp(u8 *ssid1, u8 ssid1_len, u8 *ssid2, u8 ssid2_len); |
170 | 168 | ||
171 | struct bss_descriptor *lbs_find_ssid_in_list(struct lbs_adapter *adapter, | 169 | struct bss_descriptor *lbs_find_ssid_in_list(struct lbs_private *priv, |
172 | u8 *ssid, u8 ssid_len, u8 *bssid, u8 mode, | 170 | u8 *ssid, u8 ssid_len, u8 *bssid, u8 mode, |
173 | int channel); | 171 | int channel); |
174 | 172 | ||
175 | struct bss_descriptor *lbs_find_bssid_in_list(struct lbs_adapter *adapter, | 173 | struct bss_descriptor *lbs_find_bssid_in_list(struct lbs_private *priv, |
176 | u8 *bssid, u8 mode); | 174 | u8 *bssid, u8 mode); |
177 | 175 | ||
178 | int lbs_find_best_network_ssid(struct lbs_private *priv, u8 *out_ssid, | 176 | int lbs_find_best_network_ssid(struct lbs_private *priv, u8 *out_ssid, |