http://defect.opensolaris.org/bz/show_bug.cgi?id=9796



--- Comment #13 from Anurag S. Maskey <Anurag.Maskey at Sun.COM> 2009-08-31 
15:34:05 UTC ---
I think I found the real cause(s) of this.  The NCU being in "scanning" state
was one of the reasons for this bug since the GUI checks the state of the link
NCU.  Numerous debugging attempts in the daemon always gave the correct
results.  Finally, checking what was being passed to the event listeners (like
nwamadm) showed that some information was wrong (like the selected and
connected values for each wifi network). There were two other causes of this:

1. When the WLAN_SCAN_REPORT event is processed, the data from the scan is sent
out.  This data is not correct.  nwamd_event_init_wlan() copies the data from
nwamd's store to pass to the event listeners.  In this function, the "selected"
and "connected" values are not being copied (along with keyindex and have_key).

2.  wlan_scan_thread() is passing B_FALSE for connected to
nwamd_event_init_wlan().  This causes the wlan_info to treat the link as not
connected.  It should pass
ncu_obj->ncu->ncu_node.u_link->nwamd_link_wifi_connected instead.

-- 
Configure bugmail: http://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Reply via email to