summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2500pci.c
diff options
context:
space:
mode:
authorIvo van Doorn <IvDoorn@gmail.com>2011-04-18 15:34:41 +0200
committerJohn W. Linville <linville@tuxdriver.com>2011-04-19 21:40:04 +0200
commite7dee444263a103a9a2ac5fd5d0b5e9dc177d57c (patch)
tree928178a52ac28e79263b6c61838ffd47a365a089 /drivers/net/wireless/rt2x00/rt2500pci.c
parentrt2x00: Optimize register access in rt2800usb (diff)
downloadlinux-e7dee444263a103a9a2ac5fd5d0b5e9dc177d57c.tar.xz
linux-e7dee444263a103a9a2ac5fd5d0b5e9dc177d57c.zip
rt2x00: Implement get_ringparam callback function
With the get_ringparam callback function we can export ring parameters to ethtool through the mac80211 interface. Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Acked-by: Gertjan van Wingerde <gwingerde@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2500pci.c')
-rw-r--r--drivers/net/wireless/rt2x00/rt2500pci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2500pci.c b/drivers/net/wireless/rt2x00/rt2500pci.c
index 15f5649e2cae..6f489968e7a4 100644
--- a/drivers/net/wireless/rt2x00/rt2500pci.c
+++ b/drivers/net/wireless/rt2x00/rt2500pci.c
@@ -2013,6 +2013,7 @@ static const struct ieee80211_ops rt2500pci_mac80211_ops = {
.tx_last_beacon = rt2500pci_tx_last_beacon,
.rfkill_poll = rt2x00mac_rfkill_poll,
.flush = rt2x00mac_flush,
+ .get_ringparam = rt2x00mac_get_ringparam,
};
static const struct rt2x00lib_ops rt2500pci_rt2x00_ops = {