tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

ifwatchd -n vs rum?



I have a 4.0.1 machine with a wifi USB stick that's handled by the rum
driver.

I find that ifwatchd does not fire its -n event when rum0 transitions
to "no network".  (Yes, ifwatchd is watching rum0; it notices -A and -D
events for rum0 just fine.)

Is this how it's supposed to work?  A little digging to find out why
leads me to think that it's because ieee80211_netbsd.c calls
if_link_state_change only on node join and part, as far as I can see;
it looks as though transitioning to "no network" - clearing IFM_ACTIVE,
I think this means - is not reported to anyone.  Indeed, I'm having
trouble finding where IFM_ACTIVE is _ever_ cleared; I must be missing
something.

/~\ The ASCII                             Mouse
\ / Ribbon Campaign
 X  Against HTML                mouse%rodents-montreal.org@localhost
/ \ Email!           7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B


Home | Main Index | Thread Index | Old Index