aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlegacy/iwl-scan.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlegacy/iwl-scan.c')
-rw-r--r--drivers/net/wireless/iwlegacy/iwl-scan.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/net/wireless/iwlegacy/iwl-scan.c b/drivers/net/wireless/iwlegacy/iwl-scan.c
index 6d20f2b64c3e..1f81d56ad8ac 100644
--- a/drivers/net/wireless/iwlegacy/iwl-scan.c
+++ b/drivers/net/wireless/iwlegacy/iwl-scan.c
@@ -59,7 +59,7 @@ static int il_send_scan_abort(struct il_priv *il)
59 int ret; 59 int ret;
60 struct il_rx_pkt *pkt; 60 struct il_rx_pkt *pkt;
61 struct il_host_cmd cmd = { 61 struct il_host_cmd cmd = {
62 .id = REPLY_SCAN_ABORT_CMD, 62 .id = C_SCAN_ABORT,
63 .flags = CMD_WANT_SKB, 63 .flags = CMD_WANT_SKB,
64 }; 64 };
65 65
@@ -181,7 +181,7 @@ int il_scan_cancel_timeout(struct il_priv *il, unsigned long ms)
181} 181}
182EXPORT_SYMBOL(il_scan_cancel_timeout); 182EXPORT_SYMBOL(il_scan_cancel_timeout);
183 183
184/* Service response to REPLY_SCAN_CMD (0x80) */ 184/* Service response to C_SCAN (0x80) */
185static void il_rx_reply_scan(struct il_priv *il, 185static void il_rx_reply_scan(struct il_priv *il,
186 struct il_rx_buf *rxb) 186 struct il_rx_buf *rxb)
187{ 187{
@@ -194,7 +194,7 @@ static void il_rx_reply_scan(struct il_priv *il,
194#endif 194#endif
195} 195}
196 196
197/* Service SCAN_START_NOTIFICATION (0x82) */ 197/* Service N_SCAN_START (0x82) */
198static void il_rx_scan_start_notif(struct il_priv *il, 198static void il_rx_scan_start_notif(struct il_priv *il,
199 struct il_rx_buf *rxb) 199 struct il_rx_buf *rxb)
200{ 200{
@@ -212,7 +212,7 @@ static void il_rx_scan_start_notif(struct il_priv *il,
212 notif->status, notif->beacon_timer); 212 notif->status, notif->beacon_timer);
213} 213}
214 214
215/* Service SCAN_RESULTS_NOTIFICATION (0x83) */ 215/* Service N_SCAN_RESULTS (0x83) */
216static void il_rx_scan_results_notif(struct il_priv *il, 216static void il_rx_scan_results_notif(struct il_priv *il,
217 struct il_rx_buf *rxb) 217 struct il_rx_buf *rxb)
218{ 218{
@@ -234,7 +234,7 @@ static void il_rx_scan_results_notif(struct il_priv *il,
234#endif 234#endif
235} 235}
236 236
237/* Service SCAN_COMPLETE_NOTIFICATION (0x84) */ 237/* Service N_SCAN_COMPLETE (0x84) */
238static void il_rx_scan_complete_notif(struct il_priv *il, 238static void il_rx_scan_complete_notif(struct il_priv *il,
239 struct il_rx_buf *rxb) 239 struct il_rx_buf *rxb)
240{ 240{
@@ -263,12 +263,12 @@ static void il_rx_scan_complete_notif(struct il_priv *il,
263void il_setup_rx_scan_handlers(struct il_priv *il) 263void il_setup_rx_scan_handlers(struct il_priv *il)
264{ 264{
265 /* scan handlers */ 265 /* scan handlers */
266 il->rx_handlers[REPLY_SCAN_CMD] = il_rx_reply_scan; 266 il->rx_handlers[C_SCAN] = il_rx_reply_scan;
267 il->rx_handlers[SCAN_START_NOTIFICATION] = 267 il->rx_handlers[N_SCAN_START] =
268 il_rx_scan_start_notif; 268 il_rx_scan_start_notif;
269 il->rx_handlers[SCAN_RESULTS_NOTIFICATION] = 269 il->rx_handlers[N_SCAN_RESULTS] =
270 il_rx_scan_results_notif; 270 il_rx_scan_results_notif;
271 il->rx_handlers[SCAN_COMPLETE_NOTIFICATION] = 271 il->rx_handlers[N_SCAN_COMPLETE] =
272 il_rx_scan_complete_notif; 272 il_rx_scan_complete_notif;
273} 273}
274EXPORT_SYMBOL(il_setup_rx_scan_handlers); 274EXPORT_SYMBOL(il_setup_rx_scan_handlers);