diff options
author | Abhijeet Kolekar <abhijeet.kolekar@intel.com> | 2009-02-18 18:54:28 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-02-27 14:52:45 -0500 |
commit | 030f05eda6ee4d0ed63a93f4f9ebae42c46fb8b6 (patch) | |
tree | f71475a3ab13ddbefe24ed01fc84b10897c1ecab /drivers/net/wireless/iwlwifi/iwl-agn.c | |
parent | e9dde6f6edf9954e2c75d2d738cae0f00e9b0fbc (diff) |
iwl3945: use iwl rx handlers
Patch removes duplicate rx handlers(pm_sleep and pm_debug) from 3945 and
uses handlers from iwlwifi.
Signed-off-by: Abhijeet Kolekar <abhijeet.kolekar@intel.com>
Acked-by: Samuel Ortiz <samuel.ortiz@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c index e6168672a534..0928b890ee7c 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn.c | |||
@@ -768,27 +768,6 @@ static void iwl_rx_reply_error(struct iwl_priv *priv, | |||
768 | le32_to_cpu(pkt->u.err_resp.error_info)); | 768 | le32_to_cpu(pkt->u.err_resp.error_info)); |
769 | } | 769 | } |
770 | 770 | ||
771 | static void iwl_rx_pm_sleep_notif(struct iwl_priv *priv, | ||
772 | struct iwl_rx_mem_buffer *rxb) | ||
773 | { | ||
774 | #ifdef CONFIG_IWLWIFI_DEBUG | ||
775 | struct iwl_rx_packet *pkt = (struct iwl_rx_packet *)rxb->skb->data; | ||
776 | struct iwl_sleep_notification *sleep = &(pkt->u.sleep_notif); | ||
777 | IWL_DEBUG_RX(priv, "sleep mode: %d, src: %d\n", | ||
778 | sleep->pm_sleep_mode, sleep->pm_wakeup_src); | ||
779 | #endif | ||
780 | } | ||
781 | |||
782 | static void iwl_rx_pm_debug_statistics_notif(struct iwl_priv *priv, | ||
783 | struct iwl_rx_mem_buffer *rxb) | ||
784 | { | ||
785 | struct iwl_rx_packet *pkt = (struct iwl_rx_packet *)rxb->skb->data; | ||
786 | IWL_DEBUG_RADIO(priv, "Dumping %d bytes of unhandled " | ||
787 | "notification for %s:\n", | ||
788 | le32_to_cpu(pkt->len), get_cmd_string(pkt->hdr.cmd)); | ||
789 | iwl_print_hex_dump(priv, IWL_DL_RADIO, pkt->u.raw, le32_to_cpu(pkt->len)); | ||
790 | } | ||
791 | |||
792 | static void iwl_bg_beacon_update(struct work_struct *work) | 771 | static void iwl_bg_beacon_update(struct work_struct *work) |
793 | { | 772 | { |
794 | struct iwl_priv *priv = | 773 | struct iwl_priv *priv = |