aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils
diff options
context:
space:
mode:
authorMichal Kazior <michal.kazior@tieto.com>2013-07-20 14:17:32 (GMT)
committerJouni Malinen <j@w1.fi>2013-07-20 14:17:32 (GMT)
commit182b2e535c913eb99ba401f2b3269f3e9a69859a (patch)
tree8921a1b5bcb4801867bd3d6222b3f93fbdbc19ea /src/utils
parent3f53c006c7d7362cf715ceaeda92c69d91ea7b63 (diff)
downloadhostap-182b2e535c913eb99ba401f2b3269f3e9a69859a.zip
hostap-182b2e535c913eb99ba401f2b3269f3e9a69859a.tar.gz
hostap-182b2e535c913eb99ba401f2b3269f3e9a69859a.tar.bz2
Add missing host_to_le32() for big endian hosts
Compiling hostapd with VHT enabled on a big endian machine resulted in an undefined symbol error. Fix this by defining the missing macro. Signed-hostap: Michal Kazior <michal.kazior@tieto.com>
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utils/common.h b/src/utils/common.h
index e4f7031..29f0b95 100644
--- a/src/utils/common.h
+++ b/src/utils/common.h
@@ -205,6 +205,7 @@ static inline unsigned int wpa_swap_32(unsigned int v)
#define be_to_host16(n) (n)
#define host_to_be16(n) (n)
#define le_to_host32(n) bswap_32(n)
+#define host_to_le32(n) bswap_32(n)
#define be_to_host32(n) (n)
#define host_to_be32(n) (n)
#define le_to_host64(n) bswap_64(n)