Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 135066
b: refs/heads/master
c: db5b4f7
h: refs/heads/master
v: v3
  • Loading branch information
Jiri Slaby authored and John W. Linville committed Mar 5, 2009
1 parent 85609e1 commit 735ba30
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 3f53dd64f192450cb331c0fecfc26ca952fb242f
refs/heads/master: db5b4f7ae3901fdc48c5b988fc2a5e0cb4ec1870
3 changes: 2 additions & 1 deletion trunk/drivers/net/wireless/ath5k/base.c
Original file line number Diff line number Diff line change
Expand Up @@ -1100,7 +1100,8 @@ ath5k_mode_setup(struct ath5k_softc *sc)
static inline int
ath5k_hw_to_driver_rix(struct ath5k_softc *sc, int hw_rix)
{
WARN_ON(hw_rix < 0 || hw_rix > AR5K_MAX_RATES);
WARN(hw_rix < 0 || hw_rix >= AR5K_MAX_RATES,
"hw_rix out of bounds: %x\n", hw_rix);
return sc->rate_idx[sc->curband->band][hw_rix];
}

Expand Down

0 comments on commit 735ba30

Please sign in to comment.