Ticket #1187: txpower_fix.diff

File txpower_fix.diff, 437 bytes (added by tjalling.hattink@ti-wmc.nl, 2 years ago)

Patch for fixing maximum txpower setting.

  • ath/if_ath.c

    old new  
    87218721        if (ic->ic_newtxpowlimit >= ic->ic_txpowlimit) 
    87228722                ath_hal_settxpowlimit(ah, ic->ic_newtxpowlimit); 
    87238723#else 
    8724         if (ic->ic_newtxpowlimit != ic->ic_txpowlimit) 
     8724        if (ic->ic_newtxpowlimit != txpowlimit) 
    87258725                ath_hal_settxpowlimit(ah, ic->ic_newtxpowlimit); 
    87268726#endif 
    87278727}