#2022: compilation error - trunk 2008-07-01
-------------------------------------------+--------------------------------
      Reporter:  [EMAIL PROTECTED]  |       Owner:               
          Type:  defect                    |      Status:  closed       
      Priority:  minor                     |   Milestone:  version 0.9.5
     Component:  madwifi: driver           |     Version:  trunk        
    Resolution:  fixed                     |    Keywords:               
Patch_attached:  0                         |  
-------------------------------------------+--------------------------------
Comment (by [EMAIL PROTECTED]):

 Don't we also need this ? The in-kernel wireless drivers had this change
 along with the iwe_stream_add_* updates... Seems to compile & work form
 me..


 {{{
 @@ -1879,6 +1881,6 @@
  ·  memset(&iwe, 0, sizeof(iwe));
  ·  last_ev = current_ev;
  ·  iwe.cmd = SIOCGIWRATE;
 -·  current_val = current_ev + IW_EV_LCP_LEN;
 +·  current_val = current_ev + iwe_stream_lcp_len(info);
  ·  /* NB: not sorted, does it matter? */
 @@ -1899,8 +1901,8 @@
  ·  ·   ·   ·   current_val, end_buf, &iwe,
  ·  ·   ·   ·   IW_EV_PARAM_LEN);
  ·  ·   }
  ·  }
  ·  /* remove fixed header if no rates were added */
 -·  if ((current_val - current_ev) > IW_EV_LCP_LEN) {
 +·  if ((current_val - current_ev) > iwe_stream_lcp_len(info)) {
  ·  ·   current_ev = current_val;
  ·  } else {
  ·  ·   /* We ran out of space in the buffer. */
 }}}

-- 
Ticket URL: <http://madwifi.org/ticket/2022#comment:8>
madwifi.org <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Madwifi-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/madwifi-tickets

Reply via email to