mwifiex: handle interface type changes correctly
authorAvinash Patil <patila@marvell.com>
Wed, 9 May 2012 01:30:22 +0000 (18:30 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 16 May 2012 16:46:35 +0000 (12:46 -0400)
commit4f02341ac27f70700a4fff4f3671857ca4227822
treeb6e1997054f1978bb3f52b06b3a1b81795557c24
parent26134e6eb512016edf17b4a904b1c19b22669421
mwifiex: handle interface type changes correctly

mlan0: managed or ibss
The iftype can be changed from STATION to ADHOC, and vice versa.

uap0: AP only
The iftype cannot be changed.

Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Yogesh Ashok Powar <yogeshp@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/cfg80211.c