• Felix Fietkau's avatar
    mt76: mt7615: fix key set/delete issues · 730d6d0d
    Felix Fietkau authored
    There were multiple issues in the current key set/remove code:
    - deleting a key with the previous key index deletes the current key
    - BIP key would only be uploaded correctly initially and corrupted on rekey
    
    Rework the code to better keep track of multiple keys and check for the
    key index before deleting the current key
    Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
    730d6d0d
main.c 30.4 KB