1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/wireless/mediatek/mt76/mt7915
Arnd Bergmann abf3d98dee mt76: fix enum type mismatch
There is no 'NONE' version of 'enum mcu_cipher_type', and returning
'MT_CIPHER_NONE' causes a warning:

drivers/net/wireless/mediatek/mt76/mt7921/mcu.c: In function 'mt7921_mcu_get_cipher':
drivers/net/wireless/mediatek/mt76/mt7921/mcu.c:114:24: error: implicit conversion from 'enum mt76_cipher_type' to 'enum mcu_cipher_type' [-Werror=enum-conversion]
  114 |                 return MT_CIPHER_NONE;
      |                        ^~~~~~~~~~~~~~

Add the missing MCU_CIPHER_NONE defintion that fits in here with
the same value.

Fixes: c368362c36 ("mt76: fix iv and CCMP header insertion")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210721150745.1914829-1-arnd@kernel.org
2021-08-06 10:56:53 +03:00
..
debugfs.c mt76: mt7915: improve MU stability 2021-06-19 09:22:50 +02:00
dma.c mt76: reduce rx buffer size to 2048 2021-06-19 09:22:49 +02:00
eeprom.c mt76: mt7915: read all eeprom fields from fw in efuse mode 2021-06-19 09:22:47 +02:00
eeprom.h mt76: mt7915: fix MT_EE_CAL_GROUP_SIZE 2021-06-19 09:22:48 +02:00
init.c mt76: disable TWT capabilities for the moment 2021-06-19 09:22:51 +02:00
Kconfig mt76: add mac80211 driver for MT7915 PCIe-based chipsets 2020-05-12 19:52:35 +02:00
mac.c mt76: fix iv and CCMP header insertion 2021-06-19 09:22:51 +02:00
mac.h mt76: mt7915: add support for tx status reporting 2021-06-17 18:33:58 +02:00
main.c mt76: mt7915: drop the use of repeater entries for station interfaces 2021-06-19 09:22:49 +02:00
Makefile mt76: add a space between comment char and SPDX tag 2021-06-19 09:22:50 +02:00
mcu.c mt76: fix enum type mismatch 2021-08-06 10:56:53 +03:00
mcu.h mt76: fix enum type mismatch 2021-08-06 10:56:53 +03:00
mmio.c mt76: mt7915: add mmio.c 2021-04-12 23:07:24 +02:00
mt7915.h mt76: mt7915: introduce mt7915_mcu_set_txbf() 2021-06-19 09:22:49 +02:00
pci.c mt76: mt7915: disable ASPM 2021-06-17 18:33:42 +02:00
regs.h mt76: mt7915: improve MU stability 2021-06-19 09:22:50 +02:00
testmode.c mt76: mt7915: fix rx fcs error count in testmode 2021-06-19 09:22:49 +02:00
testmode.h mt76: use SPDX header file comment style 2021-06-19 09:22:50 +02:00