wlcore: don't stop tx queue via watermark if already stopped
authorArik Nemtsov <arik@wizery.com>
Mon, 25 Jun 2012 19:26:17 +0000 (22:26 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 10 Jul 2012 16:10:12 +0000 (12:10 -0400)
commit8cdc44aab2dd83cf09512c7b64287e5f54bf117b
tree5f2e098ae435eebfc0f0e013170bb835a7ddeb7e
parent4a1ccce852882c174d2392d2d8db1d65f48d4a10
wlcore: don't stop tx queue via watermark if already stopped

If a Tx queue is currently stopped because of our Tx watermark flow
control, don't stop it again. This causes a warning to appear.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wlcore/main.c