Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 279005
b: refs/heads/master
c: 5bd5e9a
h: refs/heads/master
i:
  279003: a90684f
v: v3
  • Loading branch information
Chun-Yeow Yeoh authored and John W. Linville committed Dec 16, 2011
1 parent 934dad7 commit 8f6af44
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5ce543d148bf7590294e76bc30f4c4d6777fe094
refs/heads/master: 5bd5e9a6ae5137a61d0b5c277eac61892d89fc4f
3 changes: 2 additions & 1 deletion trunk/drivers/net/wireless/ath/ath9k/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 8f6af44

Please sign in to comment.