On Sat, Nov 2, 2013 at 10:00 AM, clutton <clut...@zoho.com> wrote:
> On Fri, 2013-11-01 at 23:50 -0700, Adrian Chadd wrote:
>> OK, so where's the other path for invoking wpa_supplicant?
>
> What do you mean?

kldload if_ath if will create ath0 which is a INET interface which
will invoke pccard_ether, which will configure the interface based on
what is configured in rc.conf. Point is, down the road wlan0 will be
created, with 2 things following
1. start wpa_supplicant if it is configured in rc.conf
2. create an event for devd which will again invoke pccard_ether for wlan0
So basically we have 2 instances of pccard_ether started, one for ath0
and one for wlan0.

create ath0 -> devd (new interface ath0) -> pccard_ether -> create
wlan0 (*) -> start wpa_supplicant
(*) devd (new interface wlan0) -> pccard_ether -> start wpa_supplicant

Hope that makes it a bit clearer.

-- 
Bernhard
_______________________________________________
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Reply via email to