• Sean Wang's avatar
    mt76: fix build error implicit enumeration conversion · adedbc64
    Sean Wang authored
    drivers/net/wireless/mediatek/mt76/mt7915/mcu.c:114:10: error: implicit
    conversion from enumeration type 'enum mt76_cipher_type' to different
    enumeration type 'enum mcu_cipher_type' [-Werror,-Wenum-conversion]
                    return MT_CIPHER_NONE;
                    ~~~~~~ ^~~~~~~~~~~~~~
    
    drivers/net/wireless/mediatek/mt76/mt7921/mcu.c:114:10: error: implicit
    conversion from enumeration type 'enum mt76_cipher_type' to different
    enumeration type 'enum mcu_cipher_type' [-Werror,-Wenum-conversion]
                    return MT_CIPHER_NONE;
                    ~~~~~~ ^~~~~~~~~~~~~~
    
    Fixes: c368362c ("mt76: fix iv and CCMP header insertion")
    Signed-off-by: default avatarSean Wang <sean.wang@mediatek.com>
    Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
    adedbc64
mcu.c 32.9 KB