mwifiex: add init parameter to init command routine
authorAvinash Patil <patila@marvell.com>
Wed, 28 Jan 2015 10:12:02 +0000 (15:42 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 29 Jan 2015 08:20:14 +0000 (10:20 +0200)
commit1247cc1f43905441821faa56d9a815e852afe235
tree0d812b509f116d9ada7e8ce0401b899fad49b346
parent8d05eb222074169c22c9d2707f607cf762f8d027
mwifiex: add init parameter to init command routine

FW initialization routine can also be called while changing
virtual interface types.
This patch adds bool parameter "init" to init command routine
so as to differentiate between initialization during driver load
and change virtual interface handler.

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