diff options
author | John W. Linville <linville@tuxdriver.com> | 2012-09-24 14:34:40 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-09-24 14:34:40 -0400 |
commit | 9b4e9e756541fd5d1223b323ed5a8a8545dd11cd (patch) | |
tree | 3eed3a2582532bd1fd890b58eadd472fcd2b1dc7 /drivers/net | |
parent | 7a5f799becc51c842ec1a3aeb8dd82651aea7036 (diff) | |
parent | 9385d04f2872057a2029901190391fe192b18693 (diff) |
Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/mac80211-ops.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath9k/htc_drv_main.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath9k/main.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/mac80211_hwsim.c | 5 |
4 files changed, 4 insertions, 7 deletions
diff --git a/drivers/net/wireless/ath/ath5k/mac80211-ops.c b/drivers/net/wireless/ath/ath5k/mac80211-ops.c index df61a09adb6d..4e6b39be43ff 100644 --- a/drivers/net/wireless/ath/ath5k/mac80211-ops.c +++ b/drivers/net/wireless/ath/ath5k/mac80211-ops.c | |||
@@ -523,7 +523,7 @@ ath5k_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd, | |||
523 | if (key->cipher == WLAN_CIPHER_SUITE_TKIP) | 523 | if (key->cipher == WLAN_CIPHER_SUITE_TKIP) |
524 | key->flags |= IEEE80211_KEY_FLAG_GENERATE_MMIC; | 524 | key->flags |= IEEE80211_KEY_FLAG_GENERATE_MMIC; |
525 | if (key->cipher == WLAN_CIPHER_SUITE_CCMP) | 525 | if (key->cipher == WLAN_CIPHER_SUITE_CCMP) |
526 | key->flags |= IEEE80211_KEY_FLAG_SW_MGMT; | 526 | key->flags |= IEEE80211_KEY_FLAG_SW_MGMT_TX; |
527 | ret = 0; | 527 | ret = 0; |
528 | } | 528 | } |
529 | break; | 529 | break; |
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_main.c b/drivers/net/wireless/ath/ath9k/htc_drv_main.c index 61d096e3596f..ca78e33ca23e 100644 --- a/drivers/net/wireless/ath/ath9k/htc_drv_main.c +++ b/drivers/net/wireless/ath/ath9k/htc_drv_main.c | |||
@@ -1445,7 +1445,7 @@ static int ath9k_htc_set_key(struct ieee80211_hw *hw, | |||
1445 | key->flags |= IEEE80211_KEY_FLAG_GENERATE_MMIC; | 1445 | key->flags |= IEEE80211_KEY_FLAG_GENERATE_MMIC; |
1446 | if (priv->ah->sw_mgmt_crypto && | 1446 | if (priv->ah->sw_mgmt_crypto && |
1447 | key->cipher == WLAN_CIPHER_SUITE_CCMP) | 1447 | key->cipher == WLAN_CIPHER_SUITE_CCMP) |
1448 | key->flags |= IEEE80211_KEY_FLAG_SW_MGMT; | 1448 | key->flags |= IEEE80211_KEY_FLAG_SW_MGMT_TX; |
1449 | ret = 0; | 1449 | ret = 0; |
1450 | } | 1450 | } |
1451 | break; | 1451 | break; |
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c index 3923ad933aef..31ab82e3ba85 100644 --- a/drivers/net/wireless/ath/ath9k/main.c +++ b/drivers/net/wireless/ath/ath9k/main.c | |||
@@ -1406,7 +1406,7 @@ static int ath9k_set_key(struct ieee80211_hw *hw, | |||
1406 | key->flags |= IEEE80211_KEY_FLAG_GENERATE_MMIC; | 1406 | key->flags |= IEEE80211_KEY_FLAG_GENERATE_MMIC; |
1407 | if (sc->sc_ah->sw_mgmt_crypto && | 1407 | if (sc->sc_ah->sw_mgmt_crypto && |
1408 | key->cipher == WLAN_CIPHER_SUITE_CCMP) | 1408 | key->cipher == WLAN_CIPHER_SUITE_CCMP) |
1409 | key->flags |= IEEE80211_KEY_FLAG_SW_MGMT; | 1409 | key->flags |= IEEE80211_KEY_FLAG_SW_MGMT_TX; |
1410 | ret = 0; | 1410 | ret = 0; |
1411 | } | 1411 | } |
1412 | break; | 1412 | break; |
diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c index 72b0456e41bf..e603adbfb985 100644 --- a/drivers/net/wireless/mac80211_hwsim.c +++ b/drivers/net/wireless/mac80211_hwsim.c | |||
@@ -2056,7 +2056,7 @@ failed: | |||
2056 | mac80211_hwsim_free(); | 2056 | mac80211_hwsim_free(); |
2057 | return err; | 2057 | return err; |
2058 | } | 2058 | } |
2059 | 2059 | module_init(init_mac80211_hwsim); | |
2060 | 2060 | ||
2061 | static void __exit exit_mac80211_hwsim(void) | 2061 | static void __exit exit_mac80211_hwsim(void) |
2062 | { | 2062 | { |
@@ -2067,7 +2067,4 @@ static void __exit exit_mac80211_hwsim(void) | |||
2067 | mac80211_hwsim_free(); | 2067 | mac80211_hwsim_free(); |
2068 | unregister_netdev(hwsim_mon); | 2068 | unregister_netdev(hwsim_mon); |
2069 | } | 2069 | } |
2070 | |||
2071 | |||
2072 | module_init(init_mac80211_hwsim); | ||
2073 | module_exit(exit_mac80211_hwsim); | 2070 | module_exit(exit_mac80211_hwsim); |