Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 158908
b: refs/heads/master
c: 35a0ace
h: refs/heads/master
v: v3
  • Loading branch information
Roel Kluin authored and John W. Linville committed Jul 10, 2009
1 parent 4fd344c commit eb138c0
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: 1795378ee8d162084c6f98fc62ec309e418dfbe9
refs/heads/master: 35a0ace7739b50331c919a3255639f123b78eaff
2 changes: 1 addition & 1 deletion trunk/drivers/net/wireless/orinoco/hermes.c
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ int hermes_read_ltv(hermes_t *hw, int bap, u16 rid, unsigned bufsize,
u16 rlength, rtype;
unsigned nwords;

if ((bufsize < 0) || (bufsize % 2))
if (bufsize % 2)
return -EINVAL;

err = hermes_docmd_wait(hw, HERMES_CMD_ACCESS, rid, NULL);
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/wireless/rtl818x/rtl8180_dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ static int rtl8180_tx(struct ieee80211_hw *dev, struct sk_buff *skb)
(ieee80211_get_tx_rate(dev, info)->bitrate * 2) / 10);
remainder = (16 * (skb->len + 4)) %
((ieee80211_get_tx_rate(dev, info)->bitrate * 2) / 10);
if (remainder > 0 && remainder <= 6)
if (remainder <= 6)
plcp_len |= 1 << 15;
}

Expand Down

0 comments on commit eb138c0

Please sign in to comment.