aboutsummaryrefslogtreecommitdiffstats
path: root/package/hostapd/patches/320-madwifi_key_fixes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/hostapd/patches/320-madwifi_key_fixes.patch')
-rw-r--r--package/hostapd/patches/320-madwifi_key_fixes.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/hostapd/patches/320-madwifi_key_fixes.patch b/package/hostapd/patches/320-madwifi_key_fixes.patch
index d178bfa401..45a7ac6c83 100644
--- a/package/hostapd/patches/320-madwifi_key_fixes.patch
+++ b/package/hostapd/patches/320-madwifi_key_fixes.patch
@@ -1,6 +1,6 @@
--- a/src/drivers/driver_madwifi.c
+++ b/src/drivers/driver_madwifi.c
-@@ -459,7 +459,9 @@ wpa_driver_madwifi_set_key(const char *i
+@@ -453,7 +453,9 @@ wpa_driver_madwifi_set_key(const char *i
memset(&wk, 0, sizeof(wk));
wk.ik_type = cipher;
@@ -11,7 +11,7 @@
if (addr == NULL || is_broadcast_ether_addr(addr)) {
memset(wk.ik_macaddr, 0xff, IEEE80211_ADDR_LEN);
wk.ik_keyix = key_idx;
-@@ -471,6 +473,20 @@ wpa_driver_madwifi_set_key(const char *i
+@@ -465,6 +467,20 @@ wpa_driver_madwifi_set_key(const char *i
wk.ik_keylen = key_len;
memcpy(wk.ik_keydata, key, key_len);