mirror of
https://github.com/torvalds/linux.git
synced 2024-12-04 18:13:04 +00:00
ath9k: Support RSN Mesh
Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@gmail.com> Acked-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
5ce543d148
commit
5bd5e9a6ae
@ -1873,7 +1873,8 @@ static int ath9k_set_key(struct ieee80211_hw *hw,
|
||||
if (ath9k_modparam_nohwcrypt)
|
||||
return -ENOSPC;
|
||||
|
||||
if (vif->type == NL80211_IFTYPE_ADHOC &&
|
||||
if ((vif->type == NL80211_IFTYPE_ADHOC ||
|
||||
vif->type == NL80211_IFTYPE_MESH_POINT) &&
|
||||
(key->cipher == WLAN_CIPHER_SUITE_TKIP ||
|
||||
key->cipher == WLAN_CIPHER_SUITE_CCMP) &&
|
||||
!(key->flags & IEEE80211_KEY_FLAG_PAIRWISE)) {
|
||||
|
Loading…
Reference in New Issue
Block a user