diff options
author | Loic Poulain <loic.poulain@linaro.org> | 2018-06-20 10:57:58 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-06-29 14:58:56 +0300 |
commit | 10db60b9fab7d45a9c3b983ead41cd1416eb1cb3 (patch) | |
tree | 287699512d7db16c3e0e3a3b961a3d9bf3b5eca7 /drivers | |
parent | 62652555c616cad23a572f76cb5e870ab5395191 (diff) | |
download | linux-10db60b9fab7d45a9c3b983ead41cd1416eb1cb3.tar.xz |
wcn36xx: Fix WEP104 encryption type
This is an obvious copy & paste bug.
Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/ath/wcn36xx/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/wcn36xx/main.c b/drivers/net/wireless/ath/wcn36xx/main.c index aeb5e6e806be..4648a78c4a5c 100644 --- a/drivers/net/wireless/ath/wcn36xx/main.c +++ b/drivers/net/wireless/ath/wcn36xx/main.c @@ -512,7 +512,7 @@ static int wcn36xx_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd, vif_priv->encrypt_type = WCN36XX_HAL_ED_WEP40; break; case WLAN_CIPHER_SUITE_WEP104: - vif_priv->encrypt_type = WCN36XX_HAL_ED_WEP40; + vif_priv->encrypt_type = WCN36XX_HAL_ED_WEP104; break; case WLAN_CIPHER_SUITE_CCMP: vif_priv->encrypt_type = WCN36XX_HAL_ED_CCMP; |