diff options
author | Holger Schurig <hs4233@mail.mn-solutions.de> | 2007-11-23 09:43:44 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:04:54 -0500 |
commit | 69f9032d9dfeb763b467fdbe8cf5938f5457083a (patch) | |
tree | 613598938e17e1a7514e0da3817f3cfebbe346a9 /drivers/net/wireless/libertas/scan.h | |
parent | 96287ac4f7b387acbe17e24b5e1bcbf3bc0e75cd (diff) |
libertas: remove arbitrary typedefs
New typedefs are usually frowned upon. This patch changes
libertas_adapter -> struct libertas_adapter
libertas_priv -> struct libertas_priv
While passing, make everything checkpatch.pl-clean that gets touches.
Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Acked-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 | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/drivers/net/wireless/libertas/scan.h b/drivers/net/wireless/libertas/scan.h index 7ed66f40d181..b23144814677 100644 --- a/drivers/net/wireless/libertas/scan.h +++ b/drivers/net/wireless/libertas/scan.h | |||
@@ -10,6 +10,8 @@ | |||
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 | |||
13 | /** | 15 | /** |
14 | * @brief Maximum number of channels that can be sent in a setuserscan ioctl | 16 | * @brief Maximum number of channels that can be sent in a setuserscan ioctl |
15 | * | 17 | * |
@@ -176,27 +178,27 @@ struct bss_descriptor { | |||
176 | 178 | ||
177 | int lbs_ssid_cmp(u8 *ssid1, u8 ssid1_len, u8 *ssid2, u8 ssid2_len); | 179 | int lbs_ssid_cmp(u8 *ssid1, u8 ssid1_len, u8 *ssid2, u8 ssid2_len); |
178 | 180 | ||
179 | struct bss_descriptor *lbs_find_ssid_in_list(lbs_adapter *adapter, | 181 | struct bss_descriptor *lbs_find_ssid_in_list(struct lbs_adapter *adapter, |
180 | u8 *ssid, u8 ssid_len, u8 *bssid, u8 mode, | 182 | u8 *ssid, u8 ssid_len, u8 *bssid, u8 mode, |
181 | int channel); | 183 | int channel); |
182 | 184 | ||
183 | struct bss_descriptor *lbs_find_bssid_in_list(lbs_adapter *adapter, | 185 | struct bss_descriptor *lbs_find_bssid_in_list(struct lbs_adapter *adapter, |
184 | u8 *bssid, u8 mode); | 186 | u8 *bssid, u8 mode); |
185 | 187 | ||
186 | int lbs_find_best_network_ssid(lbs_private *priv, u8 *out_ssid, | 188 | int lbs_find_best_network_ssid(struct lbs_private *priv, u8 *out_ssid, |
187 | u8 *out_ssid_len, u8 preferred_mode, u8 *out_mode); | 189 | u8 *out_ssid_len, u8 preferred_mode, u8 *out_mode); |
188 | 190 | ||
189 | int lbs_send_specific_ssid_scan(lbs_private *priv, u8 *ssid, | 191 | int lbs_send_specific_ssid_scan(struct lbs_private *priv, u8 *ssid, |
190 | u8 ssid_len, u8 clear_ssid); | 192 | u8 ssid_len, u8 clear_ssid); |
191 | 193 | ||
192 | int lbs_cmd_80211_scan(lbs_private *priv, | 194 | int lbs_cmd_80211_scan(struct lbs_private *priv, |
193 | struct cmd_ds_command *cmd, | 195 | struct cmd_ds_command *cmd, |
194 | void *pdata_buf); | 196 | void *pdata_buf); |
195 | 197 | ||
196 | int lbs_ret_80211_scan(lbs_private *priv, | 198 | int lbs_ret_80211_scan(struct lbs_private *priv, |
197 | struct cmd_ds_command *resp); | 199 | struct cmd_ds_command *resp); |
198 | 200 | ||
199 | int lbs_scan_networks(lbs_private *priv, | 201 | int lbs_scan_networks(struct lbs_private *priv, |
200 | const struct lbs_ioctl_user_scan_cfg *puserscanin, | 202 | const struct lbs_ioctl_user_scan_cfg *puserscanin, |
201 | int full_scan); | 203 | int full_scan); |
202 | 204 | ||