diff options
author | Ivo van Doorn <IvDoorn@gmail.com> | 2011-04-18 09:34:41 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-04-19 15:40:04 -0400 |
commit | e7dee444263a103a9a2ac5fd5d0b5e9dc177d57c (patch) | |
tree | 928178a52ac28e79263b6c61838ffd47a365a089 /drivers/net/wireless/rt2x00/rt61pci.c | |
parent | 8d0a2dcfb6f965781cde6d9dfbd4540ab22a0eb9 (diff) |
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/rt61pci.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt61pci.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt61pci.c b/drivers/net/wireless/rt2x00/rt61pci.c index c5dccdb2f17..eb540310839 100644 --- a/drivers/net/wireless/rt2x00/rt61pci.c +++ b/drivers/net/wireless/rt2x00/rt61pci.c | |||
@@ -2979,6 +2979,7 @@ static const struct ieee80211_ops rt61pci_mac80211_ops = { | |||
2979 | .get_tsf = rt61pci_get_tsf, | 2979 | .get_tsf = rt61pci_get_tsf, |
2980 | .rfkill_poll = rt2x00mac_rfkill_poll, | 2980 | .rfkill_poll = rt2x00mac_rfkill_poll, |
2981 | .flush = rt2x00mac_flush, | 2981 | .flush = rt2x00mac_flush, |
2982 | .get_ringparam = rt2x00mac_get_ringparam, | ||
2982 | }; | 2983 | }; |
2983 | 2984 | ||
2984 | static const struct rt2x00lib_ops rt61pci_rt2x00_ops = { | 2985 | static const struct rt2x00lib_ops rt61pci_rt2x00_ops = { |