mwifiex: factor out mwifiex_cancel_scan
authorXinming Hu <huxm@marvell.com>
Thu, 16 Jun 2016 13:22:22 +0000 (18:52 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 29 Jun 2016 15:54:00 +0000 (18:54 +0300)
commita9c790ba23eb3b3649f012f9633be2cb5e73e588
treec8918b0f3ec20a55cd3b81e44a1f1d920542896c
parent4699fc3f2dcbcce27d499343c7b85b172b17ee76
mwifiex: factor out mwifiex_cancel_scan

This patch creates common function mwifiex_cancel_scan to remove
duplication of code.

Signed-off-by: Xinming Hu <huxm@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/cmdevt.c
drivers/net/wireless/marvell/mwifiex/main.h
drivers/net/wireless/marvell/mwifiex/scan.c