Hi Jouni,<div><br></div><div>Sorry for misleading.</div><div>That code of generating random SSID is added by myself for customer&#39;s request, and I misunderstood how the SSID buffer should be used. Therefore, I created an issue of wrong SSID on dual band product and that issue could be fixed with that patch of resetting SSID buffer.</div>
<div>And then I thought may be the SSID buffer should be reset even in original hostapd code (without random SSID generation). But I am wrong.</div><div>After you and Johannes described, I know the root cause of that wrong SSID issue I created and it should be fixed by following the right way of using SSID buffer, and it is not&nbsp;necessary to reset the SSID buffer.</div>
<div>&nbsp;</div><div>Thanks for your responses and sorry for misleading again.</div><div><br></div><div><div class="gmail_quote">2011/12/10 Jouni Malinen <span dir="ltr">&lt;<a href="mailto:j@w1.fi">j@w1.fi</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Sat, Dec 10, 2011 at 05:50:46AM +0800, ±i®Ëº_ wrote:<br>
&gt; Yes, I am trying to fix a bug related to generating random WPS ssid for<br>
&gt; each band, and thought this kind of change maybe necessary even without<br>
&gt; that random WPS ssid modification.<br>
<br>
</div>Could you please describe that in more detail? That sounds more like a<br>
misunderstanding of how hostapd is supposed to work since hostapd does<br>
not generate a random SSID. It does generate a random passphrase when<br>
moving from unconfigured to configured state, but the initial SSID is<br>
assumed to be generated by something external.<br>
<div><div></div><div class="h5"><br>
--<br>
Jouni Malinen &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;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>