aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/dev.h
diff options
context:
space:
mode:
authorHolger Schurig <hs4233@mail.mn-solutions.de>2008-01-28 11:28:05 -0500
committerJohn W. Linville <linville@tuxdriver.com>2008-02-29 15:19:12 -0500
commit8816edcea9009b66570bef10acde5a552a9b3b3c (patch)
tree7f5f3844dbdd32d1b5a885a417dd991f342c5830 /drivers/net/wireless/libertas/dev.h
parent23ff50361f23355334bffe33de84f0b52aa34b9d (diff)
libertas: rename/document scan_channel
Rename last_scanned_channel to scan_channel, just so that a grep for struct bss_descriptor's last_scanned element doesn't show up so many positives. Also documented the variable and moved it to other scan related entries in lbs_private. Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de> 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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/dev.h b/drivers/net/wireless/libertas/dev.h
index 5a69f2b60865..fd1fcc748010 100644
--- a/drivers/net/wireless/libertas/dev.h
+++ b/drivers/net/wireless/libertas/dev.h
@@ -143,9 +143,12 @@ struct lbs_private {
143 wait_queue_head_t waitq; 143 wait_queue_head_t waitq;
144 struct workqueue_struct *work_thread; 144 struct workqueue_struct *work_thread;
145 145
146 /** Scanning */
146 struct delayed_work scan_work; 147 struct delayed_work scan_work;
147 struct delayed_work assoc_work; 148 struct delayed_work assoc_work;
148 struct work_struct sync_channel; 149 struct work_struct sync_channel;
150 /* remember which channel was scanned last, != 0 if currently scanning */
151 int scan_channel;
149 152
150 /** Hardware access */ 153 /** Hardware access */
151 int (*hw_host_to_card) (struct lbs_private *priv, u8 type, u8 *payload, u16 nb); 154 int (*hw_host_to_card) (struct lbs_private *priv, u8 type, u8 *payload, u16 nb);
@@ -321,7 +324,6 @@ struct lbs_private {
321 struct cmd_ds_802_11_get_log logmsg; 324 struct cmd_ds_802_11_get_log logmsg;
322 325
323 u32 monitormode; 326 u32 monitormode;
324 int last_scanned_channel;
325 u8 fw_ready; 327 u8 fw_ready;
326}; 328};
327 329