]> 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)
commit26704b47d0cb61da479aafd771f1f41a8ee3f27e
tree81f1b653286d01cbbb44666ec503c7d7c4cf0e08
parent0b995aecc6c4a7f24b2cda7c3700f3bdf8445261
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