]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: Fix copy-paste mistake when creating virtual interface
authorJonas Dreßler <verdre@v0yd.nl>
Tue, 14 Sep 2021 19:59:09 +0000 (21:59 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 21 Sep 2021 15:02:19 +0000 (18:02 +0300)
commita8b655a5cd961c9c6e37f127941f4a3847713006
treeb0a3777b78a5e49b6f962604a933a4f31025e17e
parent08ab47b6e93e6523923c075264149cbcdfe5016b
mwifiex: Fix copy-paste mistake when creating virtual interface

The BSS priority here for a new P2P_CLIENT device was accidentally set
to an enum that's certainly not meant for this. Since
MWIFIEX_BSS_ROLE_STA is 0 anyway, we can just set the bss_priority to 0
instead here.

Signed-off-by: Jonas Dreßler <verdre@v0yd.nl>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210914195909.36035-10-verdre@v0yd.nl
drivers/net/wireless/marvell/mwifiex/cfg80211.c