File hostapd-2.1-be-host_to_le.patch of Package hostapd

Index: hostapd-2.1/src/utils/common.h
===================================================================
--- hostapd-2.1.orig/src/utils/common.h
+++ hostapd-2.1/src/utils/common.h
@@ -208,6 +208,7 @@ static inline unsigned int wpa_swap_32(u
 #define host_to_le32(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)
openSUSE Build Service is sponsored by