>> I would prefer to add this into wpas_notify_state_changed() instead of<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">
>> here. Do you want this to show up in debug log, too, or would<br>
>> wpa_msg_ctrl() be more appropriate here? In addition, I'm not completely<br>
>> sure about the use of pending_bssid here.. What is that BSSID value used<br>
>> for? Please note that pending_bssid may not be the current BSSID.<br>
>><br>
><br>
> You are right, it fits much better to wpas_notify_state_changed().<br>
> And yes, I realize that pending_bssid is not the current one, but<br>
> Network manager is using<br>
> it sometimes. I am pretty sure we can use your message.<br>
<br>
</div>We do need pending_bssid. It has a correct value when state is changed<br>
to COMPLETED<br>
and network manager is tracking it for its purposes.<br></blockquote><div><br>Actually, it is useful when the state is WPA_ASSOCIATING. CTRL-EVENT-CONNECTED does report<br>the BSSID<br></div></div>