]> git.ipfire.org Git - thirdparty/hostap.git/commit
nl80211: Fix build with libnl 1.1
authorJouni Malinen <j@w1.fi>
Mon, 26 Jan 2015 23:50:02 +0000 (01:50 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 26 Jan 2015 23:50:02 +0000 (01:50 +0200)
commitfa38860c5e666d6123ecb0028f71089247ba07da
tree97b50be6b69b6e57fc663834c9ebcd0556ddab13
parent937403b5817a0d455d26d96a4ca714b64ac95e4a
nl80211: Fix build with libnl 1.1

Commit 630b3230c86abf1976a39db596c51540e57e31c8 ('nl80211: Increase
netlink receive buffer size') added unconditional use of
nl_socket_set_buffer_size() which was not included in libnl 1.1. Fix use
of that old version by making this conditional on CONFIG_LIBNL20.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/drivers/driver_nl80211.c