Changeset 2319

Show
Ignore:
Timestamp:
05/09/07 10:27:05 (2 years ago)
Author:
mrenzmann
Message:

Choosing a lower-then-maximum TX power, then going back to the maximum
didn't work properly. The chipset silently ignored the new TX power
setting, iwconfig didn't yield an error. This is now fixed.

Closes #1187.

Signed-off-by: Tjalling Hattink <tjalling.hattink@ti-wmc.nl>,

Twente Institute of Wireless and Mobile Communications

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/ath/if_ath.c

    r2314 r2319  
    87088708                ath_hal_settxpowlimit(ah, ic->ic_newtxpowlimit); 
    87098709#else 
    8710         if (ic->ic_newtxpowlimit != ic->ic_txpowlimit) 
     8710        if (ic->ic_newtxpowlimit != txpowlimit) 
    87118711                ath_hal_settxpowlimit(ah, ic->ic_newtxpowlimit); 
    87128712#endif