b43: remove get_tx_stats() mac80211 op
get_tx_stats() will be removed from mac80211. Compile-tested only. Cc: Stefano Brivio <stefano.brivio@polimi.it> Cc: Michael Buesch <mb@bu3sch.de> Cc: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Kalle Valo <kalle.valo@iki.fi> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
3b2119096d
commit
3b27521a5b
@@ -3356,27 +3356,6 @@ out_unlock:
|
||||
return err;
|
||||
}
|
||||
|
||||
static int b43_op_get_tx_stats(struct ieee80211_hw *hw,
|
||||
struct ieee80211_tx_queue_stats *stats)
|
||||
{
|
||||
struct b43_wl *wl = hw_to_b43_wl(hw);
|
||||
struct b43_wldev *dev;
|
||||
int err = -ENODEV;
|
||||
|
||||
mutex_lock(&wl->mutex);
|
||||
dev = wl->current_dev;
|
||||
if (dev && b43_status(dev) >= B43_STAT_STARTED) {
|
||||
if (b43_using_pio_transfers(dev))
|
||||
b43_pio_get_tx_stats(dev, stats);
|
||||
else
|
||||
b43_dma_get_tx_stats(dev, stats);
|
||||
err = 0;
|
||||
}
|
||||
mutex_unlock(&wl->mutex);
|
||||
|
||||
return err;
|
||||
}
|
||||
|
||||
static int b43_op_get_stats(struct ieee80211_hw *hw,
|
||||
struct ieee80211_low_level_stats *stats)
|
||||
{
|
||||
@@ -4602,7 +4581,6 @@ static const struct ieee80211_ops b43_hw_ops = {
|
||||
.set_key = b43_op_set_key,
|
||||
.update_tkip_key = b43_op_update_tkip_key,
|
||||
.get_stats = b43_op_get_stats,
|
||||
.get_tx_stats = b43_op_get_tx_stats,
|
||||
.get_tsf = b43_op_get_tsf,
|
||||
.set_tsf = b43_op_set_tsf,
|
||||
.start = b43_op_start,
|
||||
|
Reference in New Issue
Block a user