hostapd: make ACS dependent on nl80211
authorAlexander Mukhin <alexander.i.mukhin@gmail.com>
Sat, 30 Dec 2017 15:57:35 +0000 (18:57 +0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 2 Apr 2018 16:30:52 +0000 (18:30 +0200)
commit87a941462db71b0ccdf3b65591a35f4e21d8a170
treefc54c89efcf7e8e1a7872c7677aadc9ad0dc1d39
parent90d73e5f66ccae2f1571762bef1f5ab4bae8e775
hostapd: make ACS dependent on nl80211

According to hostapd's defconfig file, ACS is currently only supported
through the nl80211 driver. Search through the source code also confirms
that ACS machinery is present in the nl80211 driver only.

Although hostapd can be built with ACS enabled and nl80211 disabled, an
attempt to use ACS with other drivers by setting a wireless channel to 0
results in a runtime failure (driver doesn't accept this value). So we
might save a user from selecting a meaningless combination by making ACS
dependent on nl80211.

Signed-off-by: Alexander Mukhin <alexander.i.mukhin@gmail.com>
Reviewed-by: Sam Voss <sam.voss@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/hostapd/Config.in