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)
commit4c2742146de06a39d24e91155e3deec278e11932
tree81f1b653286d01cbbb44666ec503c7d7c4cf0e08
parent39d0f1b0bf914885880d73f89e1eb1508d5eaa16
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