mwifiex: set different mac address for interfaces with same bss type
authorXinming Hu <huxm@marvell.com>
Tue, 13 Feb 2018 06:10:15 +0000 (14:10 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 27 Feb 2018 16:20:22 +0000 (18:20 +0200)
commit864164683678e27c931b5909c72a001b1b943f36
tree2959c2de6c08a0dc45132b0689f88079cff0398a
parentc3b2f7ca4186cad3584915eba10d2085c3eed029
mwifiex: set different mac address for interfaces with same bss type

Multiple interfaces with same bss type could affect each other if
they are sharing the same mac address. In this patch, different
mac address is assigned to new interface which have same bss type
with exist interfaces.

Signed-off-by: Xinming Hu <huxm@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/main.c
drivers/net/wireless/marvell/mwifiex/main.h