Add a module dependency on wlan for wtap

Adrian Chadd adrian at freebsd.org
Thu Feb 16 16:48:20 UTC 2012


Committed in r231828.

Thanks!


adrian

On 16 February 2012 06:56, Monthadar Al Jaberi <monthadar at gmail.com> wrote:
> 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
> _______________________________________________
> freebsd-wireless at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe at freebsd.org"


More information about the freebsd-wireless mailing list