Add a module dependency on wlan for wtap

Monthadar Al Jaberi monthadar at gmail.com
Thu Feb 16 14:56:20 UTC 2012


Hi,

This patch makes wtap depend on wlan.

Commit message: Add a module dependency on wlan.

diff --git a/sys/dev/wtap/if_wtap_module.c b/sys/dev/wtap/if_wtap_module.c
index d0108af..064cf98 100644
--- a/sys/dev/wtap/if_wtap_module.c
+++ b/sys/dev/wtap/if_wtap_module.c
@@ -184,3 +184,4 @@ static moduledata_t wtap_conf = {
 };

 DECLARE_MODULE(wtap, wtap_conf, SI_SUB_DRIVERS, SI_ORDER_MIDDLE);
+MODULE_DEPEND(wtap, wlan, 1, 1, 1);            /* 802.11 media layer */


-- 
Monthadar Al Jaberi


More information about the freebsd-wireless mailing list