diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn-lib.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn-lib.c | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-lib.c b/drivers/net/wireless/iwlwifi/iwl-agn-lib.c index e06a5c2f8355..5d6258d08e20 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn-lib.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn-lib.c | |||
@@ -391,8 +391,7 @@ void iwl_check_abort_status(struct iwl_priv *priv, | |||
391 | } | 391 | } |
392 | } | 392 | } |
393 | 393 | ||
394 | static void iwlagn_rx_reply_tx(struct iwl_priv *priv, | 394 | void iwlagn_rx_reply_tx(struct iwl_priv *priv, struct iwl_rx_mem_buffer *rxb) |
395 | struct iwl_rx_mem_buffer *rxb) | ||
396 | { | 395 | { |
397 | struct iwl_rx_packet *pkt = rxb_addr(rxb); | 396 | struct iwl_rx_packet *pkt = rxb_addr(rxb); |
398 | u16 sequence = le16_to_cpu(pkt->hdr.sequence); | 397 | u16 sequence = le16_to_cpu(pkt->hdr.sequence); |
@@ -479,19 +478,6 @@ static void iwlagn_rx_reply_tx(struct iwl_priv *priv, | |||
479 | spin_unlock_irqrestore(&priv->sta_lock, flags); | 478 | spin_unlock_irqrestore(&priv->sta_lock, flags); |
480 | } | 479 | } |
481 | 480 | ||
482 | void iwlagn_rx_handler_setup(struct iwl_priv *priv) | ||
483 | { | ||
484 | /* init calibration handlers */ | ||
485 | priv->rx_handlers[CALIBRATION_RES_NOTIFICATION] = | ||
486 | iwlagn_rx_calib_result; | ||
487 | priv->rx_handlers[REPLY_TX] = iwlagn_rx_reply_tx; | ||
488 | |||
489 | /* set up notification wait support */ | ||
490 | spin_lock_init(&priv->_agn.notif_wait_lock); | ||
491 | INIT_LIST_HEAD(&priv->_agn.notif_waits); | ||
492 | init_waitqueue_head(&priv->_agn.notif_waitq); | ||
493 | } | ||
494 | |||
495 | void iwlagn_setup_deferred_work(struct iwl_priv *priv) | 481 | void iwlagn_setup_deferred_work(struct iwl_priv *priv) |
496 | { | 482 | { |
497 | /* | 483 | /* |
@@ -1762,7 +1748,6 @@ void iwlagn_bt_coex_profile_notif(struct iwl_priv *priv, | |||
1762 | 1748 | ||
1763 | void iwlagn_bt_rx_handler_setup(struct iwl_priv *priv) | 1749 | void iwlagn_bt_rx_handler_setup(struct iwl_priv *priv) |
1764 | { | 1750 | { |
1765 | iwlagn_rx_handler_setup(priv); | ||
1766 | priv->rx_handlers[REPLY_BT_COEX_PROFILE_NOTIF] = | 1751 | priv->rx_handlers[REPLY_BT_COEX_PROFILE_NOTIF] = |
1767 | iwlagn_bt_coex_profile_notif; | 1752 | iwlagn_bt_coex_profile_notif; |
1768 | } | 1753 | } |