From: Stanislaw Gruszka Date: Sat, 5 Oct 2013 16:15:33 +0000 (+0200) Subject: rt2x00: do not pause queue on flush X-Git-Tag: v3.13-rc1~105^2~181^2^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fdbdd25c47ac1db04a161308dfb1060869eba982;p=pandora-kernel.git rt2x00: do not pause queue on flush Pausing queue on flush make no sense since txdone procedure un-pause queue. Before flush procedure we have to assure queue is stopped, i.e. on receive path h/w RX is disabled, on transmit path queue is disabled in mac80211. That conditions are true except one function: rt2x00usb_watchdog_tx_dma(), so add stop/start queue there. Note stop/start queue can be racy if we do this from multiple paths, but currently we stop TX queues only on rt2x00lib_disable_radio(), which also stop/sync watchdog, hance we have no race condition. Signed-off-by: Stanislaw Gruszka Signed-off-by: John W. Linville --- Reading git-diff-tree failed