diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2010-12-13 06:35:40 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-12-13 15:23:35 -0500 |
commit | 5be65609fec2e331c7d804471be3d59089a30d98 (patch) | |
tree | 6c6967c7835d6ec3a8ce79c2c9b84bf95aefca31 /drivers/net/wireless/rt2x00/rt73usb.c | |
parent | 0b7fde54f94979edc67bbf86b5adba702ebfefe8 (diff) |
rt2x00: Add "flush" queue command
Add a new command to the queue handlers: "flush",
this moves the flush() callback from mac80211
into rt2x00queue and adds support for flushing
the RX queue as well.
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt73usb.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt73usb.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/rt2x00/rt73usb.c b/drivers/net/wireless/rt2x00/rt73usb.c index f55e74ef02e0..0b3959bdd3eb 100644 --- a/drivers/net/wireless/rt2x00/rt73usb.c +++ b/drivers/net/wireless/rt2x00/rt73usb.c | |||
@@ -1077,8 +1077,6 @@ static void rt73usb_stop_queue(struct data_queue *queue) | |||
1077 | default: | 1077 | default: |
1078 | break; | 1078 | break; |
1079 | } | 1079 | } |
1080 | |||
1081 | rt2x00usb_stop_queue(queue); | ||
1082 | } | 1080 | } |
1083 | 1081 | ||
1084 | /* | 1082 | /* |
@@ -2309,6 +2307,7 @@ static const struct rt2x00lib_ops rt73usb_rt2x00_ops = { | |||
2309 | .start_queue = rt73usb_start_queue, | 2307 | .start_queue = rt73usb_start_queue, |
2310 | .kick_queue = rt2x00usb_kick_queue, | 2308 | .kick_queue = rt2x00usb_kick_queue, |
2311 | .stop_queue = rt73usb_stop_queue, | 2309 | .stop_queue = rt73usb_stop_queue, |
2310 | .flush_queue = rt2x00usb_flush_queue, | ||
2312 | .write_tx_desc = rt73usb_write_tx_desc, | 2311 | .write_tx_desc = rt73usb_write_tx_desc, |
2313 | .write_beacon = rt73usb_write_beacon, | 2312 | .write_beacon = rt73usb_write_beacon, |
2314 | .get_tx_data_len = rt73usb_get_tx_data_len, | 2313 | .get_tx_data_len = rt73usb_get_tx_data_len, |