#2127: bug in the HAL's  ah_reset function
--------------------------+-------------------------------------------------
 Reporter:  anonymous     |             Type:  defect  
   Status:  new           |         Priority:  critical
Component:  madwifi: HAL  |          Version:  trunk   
 Keywords:                |   Patch_attached:  0       
  Pending:  0             |  
--------------------------+-------------------------------------------------
 "ah_reset" function has following prototaype:
 ah_reset(... ,HAL_STATUS *status);

 precondition is:  *status may be undefined or status can be NULL

 but reversing shows me following code at the end of function:
 if (*status)   // this value undefined
   *status = <errcode>
 ============
 if think it should be:
 if (status)
   *status = <errcode>

-- 
Ticket URL: <http://madwifi.org/ticket/2127>
madwifi.org <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Madwifi-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/madwifi-tickets

Reply via email to