X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/cad3884de816e7e900bba8ca86a3e08e42b581e9..86154153a622f87b6cc6209e355351975c82efb4:/package/hostapd/patches/120-compile_fix.patch?ds=sidebyside diff --git a/package/hostapd/patches/120-compile_fix.patch b/package/hostapd/patches/120-compile_fix.patch index f107cd49c..89480c184 100644 --- a/package/hostapd/patches/120-compile_fix.patch +++ b/package/hostapd/patches/120-compile_fix.patch @@ -8,3 +8,21 @@ #include #include #include "nl80211_copy.h" +--- a/src/drivers/driver_madwifi.c ++++ b/src/drivers/driver_madwifi.c +@@ -69,6 +69,7 @@ + #define MADWIFI_NG + #endif /* IEEE80211_IOCTL_SETWMMPARAMS */ + ++#define WPA_KEY_RSC_LEN 8 + + #ifdef HOSTAPD + +@@ -1506,7 +1507,6 @@ wpa_driver_madwifi_set_key(const char *i + wk.ik_keyix = key_idx; + wk.ik_keylen = key_len; + #ifdef WORDS_BIGENDIAN +-#define WPA_KEY_RSC_LEN 8 + { + size_t i; + u8 tmp[WPA_KEY_RSC_LEN];