Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 89909
b: refs/heads/master
c: ac2bf32
h: refs/heads/master
i:
  89907: 8bb956b
v: v3
  • Loading branch information
Johannes Berg authored and John W. Linville committed Feb 29, 2008
1 parent a8ea57b commit 82e051b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 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: 3e82a822c7c8ea5477062ec8885d7b90696fe73f
refs/heads/master: ac2bf3242e1a329543be50b5c9df4f0119ee188c
7 changes: 1 addition & 6 deletions trunk/net/mac80211/ieee80211_sta.c
Original file line number Diff line number Diff line change
Expand Up @@ -227,12 +227,7 @@ static void ieee802_11_parse_elems(u8 *start, size_t len,

static int ecw2cw(int ecw)
{
int cw = 1;
while (ecw > 0) {
cw <<= 1;
ecw--;
}
return cw - 1;
return (1 << ecw) - 1;
}

static void ieee80211_sta_wmm_params(struct net_device *dev,
Expand Down

0 comments on commit 82e051b

Please sign in to comment.