hostapd/hostapd-be-host_to_le.patch
2013-10-03 10:46:33 +00:00

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)