Advertisement
maximevince

etherboot-gcc5.patch

May 25th, 2015
499
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.78 KB | None | 0 0
  1. --- ipxe.orig/src/drivers/net/ath/ath9k/ath9k_ar9003_phy.c  2011-12-11 03:28:04.000000000 +0100
  2. +++ ipxe/src/drivers/net/ath/ath9k/ath9k_ar9003_phy.c   2015-05-25 10:33:05.576229086 +0200
  3. @@ -859,7 +859,7 @@
  4.             REG_CLR_BIT(ah, AR_PHY_SFCORR_LOW,
  5.                     AR_PHY_SFCORR_LOW_USE_SELF_CORR_LOW);
  6.  
  7. -       if (!on != aniState->ofdmWeakSigDetectOff) {
  8. +       if ((!on) != aniState->ofdmWeakSigDetectOff) {
  9.             DBG2("ath9k: "
  10.                 "** ch %d: ofdm weak signal: %s=>%s\n",
  11.                 chan->channel,
  12. @@ -1013,7 +1013,7 @@
  13.                   AR_PHY_MRC_CCK_ENABLE, is_on);
  14.         REG_RMW_FIELD(ah, AR_PHY_MRC_CCK_CTRL,
  15.                   AR_PHY_MRC_CCK_MUX_REG, is_on);
  16. -       if (!is_on != aniState->mrcCCKOff) {
  17. +       if ((!is_on) != aniState->mrcCCKOff) {
  18.             DBG2("ath9k: "
  19.                 "** ch %d: MRC CCK: %s=>%s\n",
  20.                 chan->channel,
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement