Question on reconfigure and changing SSID.

Ben Greear greearb
Mon Jan 10 12:00:08 PST 2011


I notice that if I change ssids to something that
doesn't show up in a scan, the station stays associated
to the old AP, even though ssids don't match.

I would expect the station to instead un-associate.

I'm changing with wpa_cli 'reconfigure'.

Is this current behaviour on purpose?


[root at dx-2u-mPCIe-9k lanforge]# tail -f wifi/wpa_supplicant_log_all.txt
1294689189.023574: RX ctrl_iface - hexdump_ascii(len=11):
      52 45 43 4f 4e 46 49 47 55 52 45                  RECONFIGURE
1294689189.023630: Reading configuration file '/home/lanforge/wifi/wpa_supplicant-wiphy0-sta0.conf'
1294689189.023665: ctrl_interface='/var/run/wpa_supplicant'
1294689189.023677: fast_reauth=1
1294689189.023686: can_scan_one=1
1294689189.023716: Priority group 0
1294689189.023729:    id=0 ssid='ciscosb-1'
1294689189.023743: sta0: reload_configuration: wpa_s->old_ssid: 0x880fdd0
1294689189.023764: sta0: Setting scan request: 0 sec 0 usec
1294689189.023777: sta0: Reconfiguration completed
1294689189.023848: sta0: State: DISCONNECTED -> SCANNING
1294689189.023863: sta0: Starting AP scan for wildcard SSID
1294689189.023977: sta0: Scan requested (ret=0) - scan timeout 30 seconds
1294689189.024043: NULL: nl80211: Event message available
1294689189.024067: sta0: nl80211: Scan trigger
1294689189.220621: NULL: nl80211: Event message available
1294689189.220679: sta0: nl80211: New scan results available
1294689189.220700: sta0: Event 3 received on interface sta0
1294689189.220746: sta0: Received scan results (1 BSSes)
1294689189.220759: sta0: nl80211: Scan results indicate BSS status with 30:46:9a:10:0b:9c as associated
1294689189.220769: sta0: BSS: Start scan result update 22
1294689189.220784: sta0: sta0: New scan results available
1294689189.220794: sta0: Selecting BSS from priority group 0
1294689189.220806: sta0: 0: 30:46:9a:10:0b:9c ssid='netgear-5g-01' wpa_ie_len=0 rsn_ie_len=0 caps=0x401 level=-67 wps
1294689189.220816: sta0:    skip - SSID mismatch
1294689189.220826: sta0: No suitable network found
1294689189.220836: sta0: Setting scan request: 5 sec 0 usec
1294689189.220847: sta0: sta0: Checking for other virtual interfaces sharing same radio (wiphy0) in event_scan_results
1294689189.220857: sta0: sta59: Updating scan results from sibling

-- 
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com




More information about the Hostap mailing list