<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1254">
<META content="MSHTML 6.00.5730.11" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Yes,</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>Indeed I use an older version, ver 0.4.9. Thanks for the 
update.</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>Ahmet</FONT></DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=fonta72@gmail.com href="mailto:fonta72@gmail.com">angelo fontana</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=ahmet@thebluezone.com 
  href="mailto:ahmet@thebluezone.com">Ahmet Basagalar</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Cc:</B> <A title=hostap@shmoo.com 
  href="mailto:hostap@shmoo.com">hostap@shmoo.com</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, January 16, 2007 6:43 
  AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: madwifi session timeout 
  causing seg. fault</DIV>
  <DIV><BR></DIV>Hi.<BR><BR>
  <DIV><SPAN class=gmail_quote>2007/1/15, Ahmet Basagalar &lt;<A 
  href="mailto:ahmet@thebluezone.com">ahmet@thebluezone.com</A>&gt;:</SPAN>
  <BLOCKQUOTE class=gmail_quote 
  style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">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></BLOCKQUOTE></BODY></HTML>