|
@@ -250,7 +250,8 @@ static int ath10k_install_peer_wep_keys(struct ath10k_vif *arvif,
|
|
lockdep_assert_held(&ar->conf_mutex);
|
|
lockdep_assert_held(&ar->conf_mutex);
|
|
|
|
|
|
if (WARN_ON(arvif->vif->type != NL80211_IFTYPE_AP &&
|
|
if (WARN_ON(arvif->vif->type != NL80211_IFTYPE_AP &&
|
|
- arvif->vif->type != NL80211_IFTYPE_ADHOC))
|
|
|
|
|
|
+ arvif->vif->type != NL80211_IFTYPE_ADHOC &&
|
|
|
|
+ arvif->vif->type != NL80211_IFTYPE_MESH_POINT))
|
|
return -EINVAL;
|
|
return -EINVAL;
|
|
|
|
|
|
spin_lock_bh(&ar->data_lock);
|
|
spin_lock_bh(&ar->data_lock);
|