Add a dependency on ALQ if IEEE80211_ALQ and/or AH_DEBUG_ALQ is included.
This commit is contained in:
parent
a284b01037
commit
58816f3f1b
@ -42,6 +42,9 @@ __FBSDID("$FreeBSD$");
|
||||
/*
|
||||
* This is needed for register operations which are performed
|
||||
* by the driver - eg, calls to ath_hal_gettsf32().
|
||||
*
|
||||
* It's also required for any AH_DEBUG checks in here, eg the
|
||||
* module dependencies.
|
||||
*/
|
||||
#include "opt_ah.h"
|
||||
#include "opt_wlan.h"
|
||||
@ -6817,3 +6820,6 @@ ath_dfs_tasklet(void *p, int npending)
|
||||
|
||||
MODULE_VERSION(if_ath, 1);
|
||||
MODULE_DEPEND(if_ath, wlan, 1, 1, 1); /* 802.11 media layer */
|
||||
#if defined(IEEE80211_ALQ) || defined(AH_DEBUG_ALQ)
|
||||
MODULE_DEPEND(if_ath, alq, 1, 1, 1);
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user