mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-21 11:00:07 +01:00
meson: Simplified WiFi detection when IWD is enabled
This commit is contained in:
parent
82e79e40a5
commit
31a2710f11
1 changed files with 1 additions and 3 deletions
|
|
@ -280,9 +280,7 @@ config_h.set_quoted('NM_DIST_VERSION', dist_version)
|
||||||
enable_wifi = get_option('wifi')
|
enable_wifi = get_option('wifi')
|
||||||
|
|
||||||
enable_iwd = get_option('iwd')
|
enable_iwd = get_option('iwd')
|
||||||
if enable_iwd
|
assert((not enable_iwd) or enable_wifi, 'Enabling iwd support requires Wi-Fi support as well')
|
||||||
assert(enable_wifi, 'Enabling iwd support requires Wi-Fi support as well')
|
|
||||||
endif
|
|
||||||
config_h.set10('WITH_IWD', enable_iwd)
|
config_h.set10('WITH_IWD', enable_iwd)
|
||||||
|
|
||||||
enable_wext = get_option('wext')
|
enable_wext = get_option('wext')
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue