mwifiex: fix AP start problem for newly added interface
authorAmitkumar Karwar <akarwar@marvell.com>
Thu, 16 Jun 2016 13:22:26 +0000 (18:52 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 29 Jun 2016 15:54:02 +0000 (18:54 +0300)
commit7311ea85007954e14cb7f5c60ce969f7a4f618c6
tree7fa69b6b6d877c8f07bbc2dd91f8347b12a3e550
parent568fb26ec8be5890a698d672472aeb6b6db34e57
mwifiex: fix AP start problem for newly added interface

It's been observed that if interface type is changed from managed to
__ap, AP can be successfully started. But there is a problem if new
ap interface is added.

The problem got resolved after sending appropriate commands to firmware
in add_interface handler.

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/marvell/mwifiex/cfg80211.c