mwifiex: Do not change bss_num in change_virtual_intf
authorXinming Hu <huxm@marvell.com>
Thu, 3 Aug 2017 09:13:27 +0000 (09:13 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 8 Aug 2017 11:48:42 +0000 (14:48 +0300)
commit2d33140f90e805cc848dbdc0b176eb67e96b2cf5
tree9799b2866c3ba2ec025d6762d212a4c03ccd9171
parentbd69cddcdf47919a8f7145779c5da2db3c543bca
mwifiex: Do not change bss_num in change_virtual_intf

Commit 4d7ab36f0c47 ("mwifiex: Do not change bss_type in
change_virtual_intf") kept original bss_type unchanged. bss_num should
keep the same style, in this way. Unique tuple (bss_type, bss_num) will
be able to locate the right priv structure.

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