diff options
author | 2016-11-25 03:13:34 -0800 | |
---|---|---|
committer | 2016-11-29 17:32:32 +0200 | |
commit | 05db221e30a924f5f80cbef34eb9f210522ceb84 (patch) | |
tree | 8810d4c04380d83c64c84601190e8338ccce5352 /drivers/net/usb/cdc_ether.c | |
parent | brcmfmac: fix scheduled scan result handling for newer chips (diff) | |
download | wireguard-linux-05db221e30a924f5f80cbef34eb9f210522ceb84.tar.xz wireguard-linux-05db221e30a924f5f80cbef34eb9f210522ceb84.zip |
mt7601u: wait for clear rxq when stopping mac
mt7601u_mac_stop_hw should stop polling the rxq once it remains empty
but instead continues polling after the rxq status stays clear; bringing
down the interface takes about six seconds from this alone.
Speed up path by exiting rxq loop once status repeatedly polls empty.
Signed-off-by: Anthony Romano <anthony.romano@coreos.com>
Reviewed-by: Jakub Kicinski <kubakici@wp.pl>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/usb/cdc_ether.c')
0 files changed, 0 insertions, 0 deletions