]> asedeno.scripts.mit.edu Git - linux.git/commit
mwifiex: Do not change bss_type in change_virtual_intf
authorGanapathi Bhat <gbhat@marvell.com>
Thu, 22 Jun 2017 07:02:52 +0000 (12:32 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 28 Jun 2017 17:52:21 +0000 (20:52 +0300)
commit4d7ab36f0c47c9ed5fa2391e77f3b3cb0e23c9dd
treecfdf99b4a75a89fa37744ab74270c771c946acfe
parent76f146b6645b79bb21a7bfdc0a903282f1160245
mwifiex: Do not change bss_type in change_virtual_intf

When user adds a virtual interface driver will set the
bss_type to the iface_type given by the user. When
supplicant is started on the same interface, a call to
change_virtual_intf will be triggered if if_type is not
NL80211_IFTYPE_STATION. Here driver should not update
it's bss_type, because bss_type is intended to indicate
the original iface_type and changing the same will defeat
the purpose of creating this interface.

Signed-off-by: Ganapathi Bhat <gbhat@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/cfg80211.c