diff options
author | Florian Fainelli <florian@openwrt.org> | 2010-11-25 11:57:48 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2010-11-25 11:57:48 +0000 |
commit | 156c3aad1ca26bf3ac2b9d3bd711fb00eac8ef9e (patch) | |
tree | 744814029ff6b58b54d1b98e31e222c8885c8194 /package/acx-mac80211/patches/001-wlan_cipher_suite.patch | |
parent | ead8ab8403bfbc0fa588c6590e85c18141fa74a2 (diff) | |
download | mtk-20170518-156c3aad1ca26bf3ac2b9d3bd711fb00eac8ef9e.zip mtk-20170518-156c3aad1ca26bf3ac2b9d3bd711fb00eac8ef9e.tar.gz mtk-20170518-156c3aad1ca26bf3ac2b9d3bd711fb00eac8ef9e.tar.bz2 |
update acx-mac80211 to 20101030 snapshot, patch from sn9
SVN-Revision: 24137
Diffstat (limited to 'package/acx-mac80211/patches/001-wlan_cipher_suite.patch')
-rw-r--r-- | package/acx-mac80211/patches/001-wlan_cipher_suite.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/package/acx-mac80211/patches/001-wlan_cipher_suite.patch b/package/acx-mac80211/patches/001-wlan_cipher_suite.patch deleted file mode 100644 index f9d9409..0000000 --- a/package/acx-mac80211/patches/001-wlan_cipher_suite.patch +++ /dev/null @@ -1,33 +0,0 @@ -diff --git a/common.c b/common.c -index 69cdf5b..28b3750 100644 ---- a/common.c -+++ b/common.c -@@ -5765,8 +5765,9 @@ int acx_e_op_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd, - * TODO WEP hw support can still be added later, if required. - */ - -- switch (key->alg) { -- case ALG_WEP: -+ switch (key->cipher) { -+ case WLAN_CIPHER_SUITE_WEP40: -+ case WLAN_CIPHER_SUITE_WEP104: - if (key->keylen == 5) { - algorithm = ACX_SEC_ALGO_WEP; - log(L_INIT, "acx: %s: algorithm=%i: %s\n", __func__, algorithm, "ACX_SEC_ALGO_WEP"); -@@ -5778,14 +5779,14 @@ int acx_e_op_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd, - err = -EOPNOTSUPP; - break; - -- case ALG_TKIP: -+ case WLAN_CIPHER_SUITE_TKIP: - algorithm = ACX_SEC_ALGO_TKIP; - log(L_INIT, "acx: %s: algorithm=%i: %s\n", __func__, algorithm, "ACX_SEC_ALGO_TKIP"); - err = -EOPNOTSUPP; - break; - - break; -- case ALG_CCMP: -+ case WLAN_CIPHER_SUITE_CCMP: - algorithm = ACX_SEC_ALGO_AES; - log(L_INIT, "acx: %s: algorithm=%i: %s\n", __func__, algorithm, "ACX_SEC_ALGO_AES"); - err = -EOPNOTSUPP; |