|
@@ -1196,6 +1196,7 @@ static int iwl_mvm_send_sta_key(struct iwl_mvm *mvm,
|
|
break;
|
|
break;
|
|
case WLAN_CIPHER_SUITE_WEP104:
|
|
case WLAN_CIPHER_SUITE_WEP104:
|
|
key_flags |= cpu_to_le16(STA_KEY_FLG_WEP_13BYTES);
|
|
key_flags |= cpu_to_le16(STA_KEY_FLG_WEP_13BYTES);
|
|
|
|
+ /* fall through */
|
|
case WLAN_CIPHER_SUITE_WEP40:
|
|
case WLAN_CIPHER_SUITE_WEP40:
|
|
key_flags |= cpu_to_le16(STA_KEY_FLG_WEP);
|
|
key_flags |= cpu_to_le16(STA_KEY_FLG_WEP);
|
|
memcpy(cmd.key + 3, keyconf->key, keyconf->keylen);
|
|
memcpy(cmd.key + 3, keyconf->key, keyconf->keylen);
|