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

           Summary: nwam_wlan_t not being correctly initialized.
    Classification: Development
           Product: nwam
           Version: unspecified
          Platform: ANY/Generic
        OS/Version: All
            Status: NEW
 Status Whiteboard: nwam1-build:2009-05-21
          Severity: critical
          Priority: P2
         Component: ON library
        AssignedTo: nwam-dev at opensolaris.org
        ReportedBy: dkenny at opensolaris.org
         QAContact: nwam-dev at opensolaris.org


It would appear, that if I'm connected to a wired network, but still making a
call to nwam_wlan_get_scan_results() to get a list of scanned wireless
networks, then the the new flags, connected, selected and have_key don't seem
to be correctly initialized, this confuses the UI since all the WLANs appear to
be connected... 

For example:

wlans[0..6] = 
[0] = {
    essid           = "vcextwlan"
    bssid           = "0:22:10:90:a7:30"
    signal_strength = "weak"
    security_mode   = 3U
    channel         = 1U
    bsstype         = 1U
    have_key        = -1159869698
    selected        = -1159869698
    connected       = -1159869698
}
[1] = {
    essid           = "dub04wlan"
    bssid           = "0:13:c3:58:84:f0"
    signal_strength = "very good"
    security_mode   = 2U
    channel         = 9U
    bsstype         = 1U
    have_key        = -1159869698
    selected        = -1159869698
    connected       = -1159869698
}
[2] = {
    essid           = "dub04wlan"
    bssid           = "0:13:c3:58:80:40"
    signal_strength = "good"
    security_mode   = 2U
    channel         = 10U
    bsstype         = 1U
    have_key        = -1159869698
    selected        = -1159869698
    connected       = -1159869698
}
[3] = {
    essid           = ""
    bssid           = "0:12:17:70:9c:cd"
    signal_strength = "weak"
    security_mode   = 2U
    channel         = 11U
    bsstype         = 1U
    have_key        = -1159869698
    selected        = -1159869698
    connected       = -1159869698
}
[4] = {
    essid           = "dub04wlan"
    bssid           = "0:13:c3:45:70:80"
    signal_strength = "good"
    security_mode   = 2U
    channel         = 11U
    bsstype         = 1U
    have_key        = -1159869698
    selected        = -1159869698
    connected       = -1159869698
}
[5] = {
    essid           = "Guest"
    bssid           = "0:1f:9e:8d:1d:51"
    signal_strength = "very weak"
    security_mode   = 1U
    channel         = 11U
    bsstype         = 1U
    have_key        = -1159869698
    selected        = -1159869698
    connected       = -1159869698
}
[6] = {
    essid           = "eircom"
    bssid           = "0:11:21:d2:5d:80"
    signal_strength = "very weak"
    security_mode   = 1U
    channel         = 13U
    bsstype         = 1U
    have_key        = -1159869698
    selected        = -1159869698
    connected       = -1159869698
}

-- 
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.
You are the assignee for the bug.

Reply via email to