]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: wilc1000: use existing iftype variable to store the interface type
authorAjay Singh <ajay.kathat@microchip.com>
Wed, 20 Jul 2022 16:03:06 +0000 (16:03 +0000)
committerKalle Valo <kvalo@kernel.org>
Wed, 27 Jul 2022 12:58:11 +0000 (15:58 +0300)
commite68bd1974a96152a298cd3b92c1a6dac29f6e806
tree81f1b653286d01cbbb44666ec503c7d7c4cf0e08
parent05ca703957cb942bcb00ee1856bd29eec01d34c7
wifi: wilc1000: use existing iftype variable to store the interface type

For consistency, use an existing 'iftype' element which was already
having the interface type. Replace 'mode' with 'iftype' as it was used
for the same purpose.

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220720160302.231516-8-ajay.kathat@microchip.com
drivers/net/wireless/microchip/wilc1000/netdev.c
drivers/net/wireless/microchip/wilc1000/netdev.h