Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 79085
b: refs/heads/master
c: 43fd6c7
h: refs/heads/master
i:
  79083: 4759f94
v: v3
  • Loading branch information
Andrea Merello authored and David S. Miller committed Jan 28, 2008
1 parent 3dece8c commit 82a3e04
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9ee1ba474fc37bcaf6a958bf7e995006fc69893b
refs/heads/master: 43fd6c7ebdd50276a7d26d7dddcb109c291dde50
8 changes: 4 additions & 4 deletions trunk/drivers/net/wireless/rtl8187_rtl8225.c
Original file line number Diff line number Diff line change
Expand Up @@ -283,8 +283,8 @@ static void rtl8225_rf_set_tx_power(struct ieee80211_hw *dev, int channel)
u32 reg;
int i;

cck_power = priv->channels[channel - 1].val & 0xF;
ofdm_power = priv->channels[channel - 1].val >> 4;
cck_power = priv->channels[channel - 1].val & 0xFF;
ofdm_power = priv->channels[channel - 1].val >> 8;

cck_power = min(cck_power, (u8)11);
ofdm_power = min(ofdm_power, (u8)35);
Expand Down Expand Up @@ -500,8 +500,8 @@ static void rtl8225z2_rf_set_tx_power(struct ieee80211_hw *dev, int channel)
u32 reg;
int i;

cck_power = priv->channels[channel - 1].val & 0xF;
ofdm_power = priv->channels[channel - 1].val >> 4;
cck_power = priv->channels[channel - 1].val & 0xFF;
ofdm_power = priv->channels[channel - 1].val >> 8;

cck_power = min(cck_power, (u8)15);
cck_power += priv->txpwr_base & 0xF;
Expand Down

0 comments on commit 82a3e04

Please sign in to comment.