summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2016-11-17 12:10:18 +0000
committerRoy Marples <roy@marples.name>2016-11-17 12:10:18 +0000
commitffa7d8fa0142e391a072c8f1d9dd8a8531eb41d9 (patch)
tree0f2ccc75e42ca771e10f19e5ff372c470d2bf599 /configure
parent5ce4ba7d1f755dc5686bed6f84d9496c90299edf (diff)
downloaddhcpcd-ffa7d8fa0142e391a072c8f1d9dd8a8531eb41d9.tar.xz
Improve nl80211 support as we now know how to work out the SSID we're
connected to.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 1 insertions, 6 deletions
diff --git a/configure b/configure
index 27d674f4..42bd4eeb 100755
--- a/configure
+++ b/configure
@@ -538,15 +538,10 @@ EOF
echo "#define HAVE_NL80211_H" >>$CONFIG_H
else
echo "no"
+ echo "DHCPCD_SRCS+= if-linux-wext.c" >>$CONFIG_MK
fi
rm -f _nl80211.c _nl80211
- # Even though we have nl80211, we only use it as a fallback
- # because it's currently possible to configure a kernel
- # where the SSID associated to won't be reported by nl80211
- # but will be via WEXT.
- echo "DHCPCD_SRCS+= if-linux-wext.c" >>$CONFIG_MK
-
printf "Testing for IN6_ADDR_GEN_MODE_NONE ... "
cat <<EOF >_IN6_ADDR_GEN_MODE_NONE.c
#include <linux/if_link.h>