#162: failed assertion in rate-sample, race condition bringing interfaces up
----------------------------------+-----------------------------------------
      Reporter:  [EMAIL PROTECTED]  |       Owner:                              
        
          Type:  defect           |      Status:  new                           
      
      Priority:  minor            |   Milestone:  version 1.0.0 - first stable 
release
     Component:  madwifi: driver  |     Version:  trunk                         
      
    Resolution:                   |    Keywords:                                
      
Patch_attached:  0                |  
----------------------------------+-----------------------------------------
Comment (by Mark Glines <[EMAIL PROTECTED]>):

 Dan sent me some more info...

 {{{
 Hi,

 The patch you sent will not solve the particular problem I'm seeing,
 as ndx is -1, but sn->num_rates is 0, meaning setting ndx to 0 will
 probably cause a null pointer exception later on when the code tries
 to access data in the sn->rates[] vector.

 I have come up with a patch which fixes the problem. It's not a very
 nice fix, more of a kludge really, but it keeps the driver running,
 and I only see ath_rate_findrate fail about once every hour or so
 anyway.
 }}}

-- 
Ticket URL: <http://madwifi.org/ticket/162>
MadWifi <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity

Reply via email to