mwifiex: do not release lock during list_for_each_entry_safe()
authorAmitkumar Karwar <akarwar@marvell.com>
Wed, 31 Dec 2014 10:36:43 +0000 (02:36 -0800)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 6 Jan 2015 19:20:14 +0000 (21:20 +0200)
commitb420166fa87a281a5476716982655009fd11e724
treed3afa009aa6594f8bcb609072e6045a09f9175eb
parentfc647467c178936aad29a1e5332c05a23d6efb39
mwifiex: do not release lock during list_for_each_entry_safe()

As we are releasing the lock, during next iteration we may end
up getting page fault if other thread has already deleted that
node.

Signed-off-by: Cathy Luo <cluo@marvell.com>
Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mwifiex/cmdevt.c