mwifiex: release semaphore acquired for internal scan operation
authorAmitkumar Karwar <akarwar@marvell.com>
Tue, 28 Aug 2012 03:32:51 +0000 (20:32 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 7 Sep 2012 19:03:40 +0000 (15:03 -0400)
commit26fc36ab756d305274f056755705478dc4dda521
tree84cb37338b4ebcbd7a49b63227f2e92e0ac6bc6a
parent21cd54a34070c46e87960ce2b50aba9e2f3ecda4
mwifiex: release semaphore acquired for internal scan operation

If "iw connect" command is fired for station interface, when
heavy traffic is running on AP interface, internal scan operation
performed before actual association is aborted. In this case we
missed to release semaphore.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kiran Divekar <dkiran@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/init.c