Marcus Meissner
361ba53956
- fix host_to_le32 undefined on BigEndian architectures (hostapd-be-host_to_le.patch) OBS-URL: https://build.opensuse.org/request/show/201924 OBS-URL: https://build.opensuse.org/package/show/Base:System/hostapd?expand=0&rev=22
13 lines
477 B
Diff
13 lines
477 B
Diff
Index: hostapd-2.0/src/utils/common.h
|
|
===================================================================
|
|
--- hostapd-2.0.orig/src/utils/common.h
|
|
+++ hostapd-2.0/src/utils/common.h
|
|
@@ -207,6 +207,7 @@ static inline unsigned int wpa_swap_32(u
|
|
#define le_to_host32(n) bswap_32(n)
|
|
#define be_to_host32(n) (n)
|
|
#define host_to_be32(n) (n)
|
|
+#define host_to_le32(n) bswap_32(n)
|
|
#define le_to_host64(n) bswap_64(n)
|
|
#define host_to_le64(n) bswap_64(n)
|
|
#define be_to_host64(n) (n)
|