Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 220252
b: refs/heads/master
c: a300ce9
h: refs/heads/master
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Oct 8, 2010
1 parent f812a7e commit 18837d7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 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: 697d600d8fa9d383626041a8dde86555fb758b76
refs/heads/master: a300ce95e49fe079d4ca77370c23ce75db176218
2 changes: 1 addition & 1 deletion trunk/drivers/staging/brcm80211/sys/wlc_channel.c
Original file line number Diff line number Diff line change
Expand Up @@ -1376,7 +1376,7 @@ wlc_channel_reg_limits(wlc_cm_info_t *wlc_cm, chanspec_t chanspec,

/* Keep OFDM lmit below CCK limit */
if (BAND_2G(band->bandtype))
maxpwr = min(maxpwr, txpwr->cck[0]);
maxpwr = min_t(int, maxpwr, txpwr->cck[0]);

for (i = 0; i < WLC_NUM_RATES_OFDM; i++) {
txpwr->ofdm[i] = (u8) maxpwr;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/brcm80211/sys/wlc_mac80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -4806,7 +4806,7 @@ wlc_doiovar(void *hdl, const bcm_iovar_t *vi, u32 actionid,
bool override;

/* Remove override bit and clip to max qdbm value */
qdbm = (u8)min((int_val & ~WL_TXPWR_OVERRIDE), 0xff);
qdbm = (u8)min_t(u32, (int_val & ~WL_TXPWR_OVERRIDE), 0xff);
/* Extract override setting */
override = (int_val & WL_TXPWR_OVERRIDE) ? TRUE : FALSE;
err =
Expand Down

0 comments on commit 18837d7

Please sign in to comment.