|
@@ -3149,10 +3149,6 @@ static int __iwl_mvm_set_sta_key(struct iwl_mvm *mvm,
|
|
|
|
|
|
switch (keyconf->cipher) {
|
|
|
case WLAN_CIPHER_SUITE_TKIP:
|
|
|
- if (vif->type == NL80211_IFTYPE_AP) {
|
|
|
- ret = -EINVAL;
|
|
|
- break;
|
|
|
- }
|
|
|
addr = iwl_mvm_get_mac_addr(mvm, vif, sta);
|
|
|
/* get phase 1 key from mac80211 */
|
|
|
ieee80211_get_key_rx_seq(keyconf, 0, &seq);
|