<div dir="ltr"><div class="gmail_default" style>The big difference in wpa_supplicant_fast_associate() right now is that it turns into a no-op if the selected network (from wpa_supplicant_pick_network()) doesn&#39;t match the ssid chosen in wpa_supplicant_select_network().  It didn&#39;t seem right to me for some other network to be connected if select_network was unambiguous.  It&#39;s likely a non-concern for me, so I&#39;ll drop it in a v3.</div>
<div class="gmail_default" style><br></div><div class="gmail_default" style>--</div><div class="gmail_default" style>Paul</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jan 16, 2013 at 8:56 AM, Jouni Malinen <span dir="ltr">&lt;<a href="mailto:j@w1.fi" target="_blank">j@w1.fi</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Wed, Jan 16, 2013 at 06:59:14AM -0800, Paul Stewart wrote:<br>
&gt; I considered wpas_select_network_from_last_scan(), but I wondered whether<br>
&gt; the calls to wpa_supplicant_rsn_preauth_scan_results on old scan results or<br>
&gt; everything in the &quot;else&quot; clause for &quot;if (selected)&quot; was valid in this case.<br>
&gt;  If you&#39;re okay with a hard-coded time limit like interworking_reconnect, I<br>
&gt; can do that.  Also let me know if you&#39;re unconcerned by any side effects<br>
&gt; the rest of wpas_select_network_from_last_scan().<br>
<br>
</div>If there are undesired side effects from<br>
wpas_select_network_from_last_scan(), those need to be fixed for<br>
Interworking case anyway, so yes, I&#39;d like to see a single mechanism to<br>
be used and any possible issues with it getting resolved. These two<br>
cases are pretty much identical in the sense that both of them may have<br>
run through a scan recently and could re-use information from it. The<br>
Interworking one is guaranteed to have run through a scan, but these can<br>
be handled with the same implementation with the use of that time limit.<br>
The actual time limit value could end up becoming a configurable<br>
parameter in the future, but a hard-coded limit would be fine as an<br>
initial step.<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Jouni Malinen                                            PGP id EFC895FA<br>
_______________________________________________<br>
HostAP mailing list<br>
<a href="mailto:HostAP@lists.shmoo.com">HostAP@lists.shmoo.com</a><br>
<a href="http://lists.shmoo.com/mailman/listinfo/hostap" target="_blank">http://lists.shmoo.com/mailman/listinfo/hostap</a><br>
</div></div></blockquote></div><br></div>