aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ar9170/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath/ar9170/main.c')
-rw-r--r--drivers/net/wireless/ath/ar9170/main.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/net/wireless/ath/ar9170/main.c b/drivers/net/wireless/ath/ar9170/main.c
index 4d27f7f67c7..91797cb6e0e 100644
--- a/drivers/net/wireless/ath/ar9170/main.c
+++ b/drivers/net/wireless/ath/ar9170/main.c
@@ -2396,18 +2396,6 @@ static int ar9170_get_stats(struct ieee80211_hw *hw,
2396 return 0; 2396 return 0;
2397} 2397}
2398 2398
2399static int ar9170_get_tx_stats(struct ieee80211_hw *hw,
2400 struct ieee80211_tx_queue_stats *tx_stats)
2401{
2402 struct ar9170 *ar = hw->priv;
2403
2404 spin_lock_bh(&ar->tx_stats_lock);
2405 memcpy(tx_stats, ar->tx_stats, sizeof(tx_stats[0]) * hw->queues);
2406 spin_unlock_bh(&ar->tx_stats_lock);
2407
2408 return 0;
2409}
2410
2411static int ar9170_conf_tx(struct ieee80211_hw *hw, u16 queue, 2399static int ar9170_conf_tx(struct ieee80211_hw *hw, u16 queue,
2412 const struct ieee80211_tx_queue_params *param) 2400 const struct ieee80211_tx_queue_params *param)
2413{ 2401{
@@ -2509,7 +2497,6 @@ static const struct ieee80211_ops ar9170_ops = {
2509 .set_key = ar9170_set_key, 2497 .set_key = ar9170_set_key,
2510 .sta_notify = ar9170_sta_notify, 2498 .sta_notify = ar9170_sta_notify,
2511 .get_stats = ar9170_get_stats, 2499 .get_stats = ar9170_get_stats,
2512 .get_tx_stats = ar9170_get_tx_stats,
2513 .ampdu_action = ar9170_ampdu_action, 2500 .ampdu_action = ar9170_ampdu_action,
2514}; 2501};
2515 2502