aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWey-Yi Guy <wey-yi.w.guy@intel.com>2010-04-13 14:28:52 -0400
committerReinette Chatre <reinette.chatre@intel.com>2010-04-30 18:34:29 -0400
commit399dcb8a36edbde45bc27f5e33fd7f57de44bdd5 (patch)
treeafb813eaa60ee366b1f13cd3daf95f60dede33d6
parentad41ee3a45c7de33cfa0057f4a12362ba1f1af32 (diff)
iwlwifi: remove get_stats callback function
The low level transmission function is performed at uCode layer for all the "agn" NICs, there is no statistics information available for mac80211 get_stats() call. Remove the callback function to avoid misleading information that returned success when indeed it is not supported. Now return "not supported". Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c
index c22d3d8c440c..04d84a68363d 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn.c
@@ -3001,18 +3001,6 @@ static int iwl_mac_ampdu_action(struct ieee80211_hw *hw,
3001 return 0; 3001 return 0;
3002} 3002}
3003 3003
3004static int iwl_mac_get_stats(struct ieee80211_hw *hw,
3005 struct ieee80211_low_level_stats *stats)
3006{
3007 struct iwl_priv *priv = hw->priv;
3008
3009 priv = hw->priv;
3010 IWL_DEBUG_MAC80211(priv, "enter\n");
3011 IWL_DEBUG_MAC80211(priv, "leave\n");
3012
3013 return 0;
3014}
3015
3016static void iwl_mac_sta_notify(struct ieee80211_hw *hw, 3004static void iwl_mac_sta_notify(struct ieee80211_hw *hw,
3017 struct ieee80211_vif *vif, 3005 struct ieee80211_vif *vif,
3018 enum sta_notify_cmd cmd, 3006 enum sta_notify_cmd cmd,
@@ -3390,7 +3378,6 @@ static struct ieee80211_ops iwl_hw_ops = {
3390 .configure_filter = iwl_configure_filter, 3378 .configure_filter = iwl_configure_filter,
3391 .set_key = iwl_mac_set_key, 3379 .set_key = iwl_mac_set_key,
3392 .update_tkip_key = iwl_mac_update_tkip_key, 3380 .update_tkip_key = iwl_mac_update_tkip_key,
3393 .get_stats = iwl_mac_get_stats,
3394 .conf_tx = iwl_mac_conf_tx, 3381 .conf_tx = iwl_mac_conf_tx,
3395 .reset_tsf = iwl_mac_reset_tsf, 3382 .reset_tsf = iwl_mac_reset_tsf,
3396 .bss_info_changed = iwl_bss_info_changed, 3383 .bss_info_changed = iwl_bss_info_changed,