mwl8k: recheck if station still has valid rates
authorYogesh Ashok Powar <yogeshp@marvell.com>
Tue, 6 Nov 2012 13:52:35 +0000 (19:22 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 14 Nov 2012 19:56:08 +0000 (14:56 -0500)
commitfd712f5f5e0723fbbd3720983b3fa2189b2e10f8
treebe59ade3eae69d16446c445e4739ef3129bd616c
parent5d377fcaf48cc38882bb92c3b4a0cfcfb250087b
mwl8k: recheck if station still has valid rates

We have 6.5 Mbps is minimum rate of the link
as the criterion for creation of BA.

Although we check this before creating the BA
stream, by the time amdpu_action is called from
the workqueue, the link can get affected in the
meantime.
Hence, add an additional check in amdpu_action.

Signed-off-by: Yogesh Ashok Powar <yogeshp@marvell.com>
Signed-off-by: Nishant Sarmukadam <nishants@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwl8k.c