diff options
author | Chun-Yeow Yeoh <yeohchunyeow@gmail.com> | 2011-12-07 12:45:46 -0800 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-12-16 09:30:43 -0500 |
commit | 5bd5e9a6ae5137a61d0b5c277eac61892d89fc4f (patch) | |
tree | 2593694502bbfd0bb12b00e2274f300d461764bd | |
parent | 5ce543d148bf7590294e76bc30f4c4d6777fe094 (diff) | |
download | op-kernel-dev-5bd5e9a6ae5137a61d0b5c277eac61892d89fc4f.zip op-kernel-dev-5bd5e9a6ae5137a61d0b5c277eac61892d89fc4f.tar.gz |
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>
-rw-r--r-- | drivers/net/wireless/ath/ath9k/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c index 4475b0d..7fbc4bd 100644 --- a/drivers/net/wireless/ath/ath9k/main.c +++ b/drivers/net/wireless/ath/ath9k/main.c @@ -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)) { |