iwlwifi: also depend on linuxkpi_wlan

The 802.11 compat code is split off linuxkpi.ko into linuxkpi_wlan.ko
in case it is built as a module.  Depend on that.
While here adjust our module to a longer version to avoid conflicts.

Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
This commit is contained in:
Bjoern A. Zeeb 2021-12-27 17:36:04 +00:00
parent ca8bf0e8d6
commit 81ff67ffbe

View File

@ -38,8 +38,9 @@ MODULE_LICENSE("GPL");
#elif defined(__FreeBSD__)
#define DRV_DESCRIPTION "Intel(R) Wireless WiFi based driver for FreeBSD"
MODULE_LICENSE("BSD");
MODULE_VERSION(iwl, 1);
MODULE_DEPEND(iwl, linuxkpi, 1, 1, 1);
MODULE_VERSION(if_iwlwifi, 1);
MODULE_DEPEND(if_iwlwifi, linuxkpi, 1, 1, 1);
MODULE_DEPEND(if_iwlwifi, linuxkpi_wlan, 1, 1, 1);
#endif
MODULE_DESCRIPTION(DRV_DESCRIPTION);