diff --git a/mt7921/main.c b/mt7921/main.c index ea107998..84215d28 100644 --- a/mt7921/main.c +++ b/mt7921/main.c @@ -382,6 +382,7 @@ static int mt7921_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd, case WLAN_CIPHER_SUITE_WEP104: if (!mvif->wep_sta) return -EOPNOTSUPP; + break; case WLAN_CIPHER_SUITE_TKIP: case WLAN_CIPHER_SUITE_CCMP: case WLAN_CIPHER_SUITE_CCMP_256: