summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2800usb.c
diff options
context:
space:
mode:
authorHelmut Schaa <helmut.schaa@googlemail.com>2010-12-13 12:31:58 +0100
committerJohn W. Linville <linville@tuxdriver.com>2010-12-13 21:23:34 +0100
commit977206d79fdc9fc1b153e0b52c56e0be59586f37 (patch)
tree73600833cdc74acb1219d22078cfc153f4c1901e /drivers/net/wireless/rt2x00/rt2800usb.c
parentrt2x00: Add rt2800 EEPROM definition (diff)
downloadlinux-977206d79fdc9fc1b153e0b52c56e0be59586f37.tar.xz
linux-977206d79fdc9fc1b153e0b52c56e0be59586f37.zip
rt2x00: Implement get_survey callback for rt2800
Implement the get_survey callback to allow user space to read statistics about the current channel condition. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2800usb.c')
-rw-r--r--drivers/net/wireless/rt2x00/rt2800usb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2800usb.c b/drivers/net/wireless/rt2x00/rt2800usb.c
index 935b76d3ce4f..042e47d92b6e 100644
--- a/drivers/net/wireless/rt2x00/rt2800usb.c
+++ b/drivers/net/wireless/rt2x00/rt2800usb.c
@@ -562,6 +562,7 @@ static const struct ieee80211_ops rt2800usb_mac80211_ops = {
.rfkill_poll = rt2x00mac_rfkill_poll,
.ampdu_action = rt2800_ampdu_action,
.flush = rt2x00mac_flush,
+ .get_survey = rt2800_get_survey,
};
static const struct rt2800_ops rt2800usb_rt2800_ops = {