Hi.<br><br><div><span class="gmail_quote">2007/1/15, Ahmet Basagalar <<a href="mailto:ahmet@thebluezone.com">ahmet@thebluezone.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>We have been getting some segmentation faults on the hostapds that we are<br>using with madwifi driver. I have found that this is because of the fact<br>that session timeouts are not being cancelled although the stations are
<br>freed. I added<br><br>eloop_cancel_timeout(ap_handle_session_timer, hapd, sta);<br><br>to the ap_free_sta function in sta_info.c and that fixed the issue. I am no<br>longer getting seg. faults. (Also you will need to declare
<br>eloop_cancel_timeout somewhere before ap_free_sta)<br><br>Thanks,<br>Ahmet</blockquote><div><br>I am using hostapd_0.5.7 and I see that there is another call to eloop_cancel_timeout in ap_free_sta (line 157), with the same parameters. Are you using an older version of hostapd?
<br><br>Thanks.<br>Angelo.<br></div><br></div><br>