diff options
| author | Roy Marples <roy@marples.name> | 2014-09-15 23:05:20 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2014-09-15 23:05:20 +0000 |
| commit | f7d83c0dfcb2f59cdff41e7892ea507ecac2f639 (patch) | |
| tree | 504bac22905dac5aa4a8810bc151ea0b23c1d6cc /configure | |
| parent | 2e21d85f7a63e938b34c11cde49c380ee8ccd183 (diff) | |
| download | dhcpcd-f7d83c0dfcb2f59cdff41e7892ea507ecac2f639.tar.xz | |
It's possible to configure a Linux kernel with nl80211 where the
SSID won't be reported, but is available via WEXT.
This is very silly, but dhcpcd still needs to work.
Thus enable both protocols and use nl80211 if WEXT fails.
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -432,9 +432,14 @@ 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 fi abort=false |
