mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
rt2x00: Implement flush callback
Implement a basic flush callback function, which simply loops over all TX queues and waits until all frames have been transmitted and the status reports have been gathered. At this moment we don't support dropping any frames during the flush, but mac80211 will only send 'false' for this argument anyway, so this is not important at this time. Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Acked-by: Helmut Schaa <helmut.schaa@googlemail.com> Acked-by: Gertjan van Wingerde <gwingerde@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
aaf886bd21
commit
f44df18c58
9 changed files with 46 additions and 0 deletions
|
@ -1612,6 +1612,7 @@ static const struct ieee80211_ops rt2400pci_mac80211_ops = {
|
|||
.get_tsf = rt2400pci_get_tsf,
|
||||
.tx_last_beacon = rt2400pci_tx_last_beacon,
|
||||
.rfkill_poll = rt2x00mac_rfkill_poll,
|
||||
.flush = rt2x00mac_flush,
|
||||
};
|
||||
|
||||
static const struct rt2x00lib_ops rt2400pci_rt2x00_ops = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue