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
..
2021-07-05 14:08:24 -07:00
2021-07-07 13:30:01 -07:00
2021-07-10 09:22:44 -07:00
2021-06-30 15:51:09 -07:00
2021-07-07 13:22:59 -07:00
2021-07-09 12:05:33 -07:00
2021-07-05 14:08:24 -07:00
2021-07-10 09:46:20 -07:00
2021-06-30 15:34:19 -06:00
2021-07-10 09:22:44 -07:00
2021-07-08 12:12:22 -07:00
2021-07-01 13:26:16 -07:00
2021-07-05 14:01:53 -07:00
2021-07-01 14:25:43 +02:00
2021-06-30 14:56:51 +02:00
2021-07-10 09:22:44 -07:00
2021-06-17 17:37:18 -07:00
2021-06-29 10:53:48 -07:00
2021-06-24 10:37:35 +09:00
2021-07-05 13:51:41 -07:00
2021-07-02 12:08:10 -07:00
2021-07-05 13:42:16 -07:00
2021-07-05 13:42:16 -07:00
2021-07-10 09:46:20 -07:00
2021-06-24 15:45:11 +02:00
2021-07-05 12:10:34 -07:00
2021-07-08 12:28:15 -07:00
2021-06-30 09:15:15 +02:00
2021-07-02 12:08:10 -07:00
2021-07-05 13:42:16 -07:00
2021-07-05 13:42:16 -07:00
2021-07-04 11:47:18 -07:00
2021-07-10 11:53:06 -07:00
2021-07-05 14:01:53 -07:00
2021-07-03 11:13:22 -07:00
2021-07-09 10:19:13 -07:00
2021-06-22 22:03:25 +02:00
2021-07-10 09:46:20 -07:00
2021-07-05 14:08:24 -07:00
2021-07-09 15:35:13 +02:00
2021-07-05 14:08:24 -07:00
2021-07-03 11:57:42 -07:00
2021-06-26 12:06:48 -05:00
2021-06-24 15:56:25 +02:00
2021-06-30 18:19:39 -07:00
2021-07-05 13:51:41 -07:00
2021-06-16 17:36:30 -07:00
2021-06-30 12:12:56 -07:00
2021-06-22 23:00:01 -04:00
2021-07-05 13:51:41 -07:00
2021-07-05 14:08:24 -07:00
2021-07-09 12:05:33 -07:00
2021-07-09 10:10:47 -07:00
2021-08-06 10:56:53 +03:00
2021-06-18 12:57:30 -07:00
2021-07-04 11:55:13 -07:00
2021-07-09 12:05:33 -07:00
2021-07-05 13:42:16 -07:00
2021-07-03 10:54:08 -07:00
2021-06-18 09:00:55 +05:30
2021-07-01 11:06:04 -07:00
2021-07-10 11:57:57 -07:00
2021-06-17 19:45:24 +01:00
2021-07-05 14:16:22 -07:00
2021-07-01 16:57:14 -07:00
2021-07-05 13:51:41 -07:00
2021-07-05 13:42:16 -07:00
2021-07-07 13:17:48 -07:00
2021-07-08 12:33:10 -07:00
2021-07-07 21:43:32 +02:00
2021-07-05 12:10:34 -07:00
2021-07-07 10:50:03 -07:00
2021-07-10 09:46:20 -07:00
2021-06-18 13:13:40 -07:00
2021-07-10 16:19:10 -07:00
2021-07-10 10:46:14 -07:00
2021-07-12 12:25:37 -07:00
2021-06-24 15:46:34 +02:00
2021-07-10 09:46:20 -07:00
2021-07-05 13:42:16 -07:00
2021-06-25 14:08:26 +01:00
2021-06-25 10:02:05 +02:00
2021-07-05 14:08:24 -07:00
2021-07-09 12:05:33 -07:00
2021-06-28 20:03:38 -07:00
2021-07-10 11:43:25 -07:00
2021-07-05 14:16:22 -07:00
2021-07-09 10:19:13 -07:00
2021-07-05 14:16:22 -07:00
2021-07-08 07:49:02 -04:00
2021-07-03 11:49:33 -07:00
2021-07-08 07:49:01 -04:00
2021-07-09 10:19:13 -07:00
2021-06-24 15:48:27 +02:00
2021-07-09 11:06:29 -07:00
2021-07-07 12:57:46 -07:00
2021-07-07 11:07:13 -07:00
2021-06-16 08:53:58 -06:00
2021-06-29 11:21:35 -07:00