aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Cavallari <Nicolas.Cavallari@lri.fr>2012-01-11 10:44:50 -0500
committerJohn W. Linville <linville@tuxdriver.com>2012-01-24 14:08:39 -0500
commite2d75c136f8df4a4e28ece75c475a65b9292729a (patch)
treec5bd23e9bdd974d1b351bdee5b6f38ee493d67b6
parentefa6a09db6d6c27557fb55299b9835b45b968eae (diff)
carl9170: claim to support IBSS RSN.
On carl9170, HW encryption is disabled on IBSS; the mac80211 software-based encryption is used instead. As mac80211 supports IBSS RSN (per-STA GTK), claim its support in the carl9170 PHY. Signed-off-by: Nicolas Cavallari <cavallar@lri.fr> Acked-by: Christian Lamparter <chunkeey@googlemail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/ath/carl9170/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/carl9170/main.c b/drivers/net/wireless/ath/carl9170/main.c
index db774212161b..4dfb0290b43a 100644
--- a/drivers/net/wireless/ath/carl9170/main.c
+++ b/drivers/net/wireless/ath/carl9170/main.c
@@ -1796,6 +1796,9 @@ void *carl9170_alloc(size_t priv_size)
1796 ar->noise[i] = -95; /* ATH_DEFAULT_NOISE_FLOOR */ 1796 ar->noise[i] = -95; /* ATH_DEFAULT_NOISE_FLOOR */
1797 1797
1798 hw->wiphy->flags &= ~WIPHY_FLAG_PS_ON_BY_DEFAULT; 1798 hw->wiphy->flags &= ~WIPHY_FLAG_PS_ON_BY_DEFAULT;
1799
1800 /* As IBSS Encryption is software-based, IBSS RSN is supported. */
1801 hw->wiphy->flags |= WIPHY_FLAG_IBSS_RSN;
1799 return ar; 1802 return ar;
1800 1803
1801err_nomem: 1804err_nomem: