Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 341452
b: refs/heads/master
c: d54601b
h: refs/heads/master
v: v3
  • Loading branch information
Raja Mani authored and Kalle Valo committed Oct 24, 2012
1 parent 480c81b commit 536aec5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 43a06b346d1350009c8f7eaa1a2a137395874ca0
refs/heads/master: d54601b92fbde2a7021a844e1373ba8c778cc0a3
3 changes: 3 additions & 0 deletions trunk/drivers/net/wireless/ath/ath6kl/wmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1174,6 +1174,9 @@ static int ath6kl_wmi_bitrate_reply_rx(struct wmi *wmi, u8 *datap, int len)
rate = RATE_AUTO;
} else {
index = reply->rate_index & 0x7f;
if (WARN_ON_ONCE(index > (RATE_MCS_7_40 + 1)))
return -EINVAL;

sgi = (reply->rate_index & 0x80) ? 1 : 0;
rate = wmi_rate_tbl[index][sgi];
}
Expand Down

0 comments on commit 536aec5

Please sign in to comment.