1 diff --git a/common.c b/common.c
2 index 69cdf5b..28b3750 100644
5 @@ -5765,8 +5765,9 @@ int acx_e_op_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd,
6 * TODO WEP hw support can still be added later, if required.
11 + switch (key->cipher) {
12 + case WLAN_CIPHER_SUITE_WEP40:
13 + case WLAN_CIPHER_SUITE_WEP104:
14 if (key->keylen == 5) {
15 algorithm = ACX_SEC_ALGO_WEP;
16 log(L_INIT, "acx: %s: algorithm=%i: %s\n", __func__, algorithm, "ACX_SEC_ALGO_WEP");
17 @@ -5778,14 +5779,14 @@ int acx_e_op_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd,
22 + case WLAN_CIPHER_SUITE_TKIP:
23 algorithm = ACX_SEC_ALGO_TKIP;
24 log(L_INIT, "acx: %s: algorithm=%i: %s\n", __func__, algorithm, "ACX_SEC_ALGO_TKIP");
30 + case WLAN_CIPHER_SUITE_CCMP:
31 algorithm = ACX_SEC_ALGO_AES;
32 log(L_INIT, "acx: %s: algorithm=%i: %s\n", __func__, algorithm, "ACX_SEC_ALGO_AES");