mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-02-19 18:40:44 +01:00

Kernel v4.10 and later no longer export GENL_ID_GENERATE (which was defined as 0). iwd was using this symbol to check for unmodified local values rather than to ask for a dynamically generated netlink ID anyway, so it makes sense to use the value 0 directly. This will work with kernels before and after the GENL_ID_GENERATE change.