Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 299045
b: refs/heads/master
c: aa331df
h: refs/heads/master
i:
  299043: bae7537
v: v3
  • Loading branch information
Larry Finger authored and John W. Linville committed Apr 9, 2012
1 parent 245c151 commit dd4da9f
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 0298dc9f2273fb2d596ae10d7700f054bfce601d
refs/heads/master: aa331df0e5e6ebac086ed80b4fbbfd912fe6b32a
2 changes: 1 addition & 1 deletion trunk/include/net/mac80211.h
Original file line number Diff line number Diff line change
Expand Up @@ -1327,7 +1327,7 @@ static inline struct ieee80211_rate *
ieee80211_get_tx_rate(const struct ieee80211_hw *hw,
const struct ieee80211_tx_info *c)
{
if (WARN_ON(c->control.rates[0].idx < 0))
if (WARN_ON_ONCE(c->control.rates[0].idx < 0))
return NULL;
return &hw->wiphy->bands[c->band]->bitrates[c->control.rates[0].idx];
}
Expand Down

0 comments on commit dd4da9f

Please sign in to comment.