Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 352312
b: refs/heads/master
c: 485f107
h: refs/heads/master
v: v3
  • Loading branch information
Cyril Roelandt authored and John W. Linville committed Jan 30, 2013
1 parent 1041e01 commit 6eca54f
Show file tree
Hide file tree
Showing 2 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: 44ba973699b831414c3f8eef68ee5a7fe1208a05
refs/heads/master: 485f107d341cb1d09e010e0466b02a1ad026f489
4 changes: 2 additions & 2 deletions trunk/drivers/net/wireless/mwifiex/join.c
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,8 @@ static int mwifiex_get_common_rates(struct mwifiex_private *priv, u8 *rate1,

memset(rate1, 0, rate1_size);

for (i = 0; rate2[i] && i < rate2_size; i++) {
for (j = 0; tmp[j] && j < rate1_size; j++) {
for (i = 0; i < rate2_size && rate2[i]; i++) {
for (j = 0; j < rate1_size && tmp[j]; j++) {
/* Check common rate, excluding the bit for
basic rate */
if ((rate2[i] & 0x7F) == (tmp[j] & 0x7F)) {
Expand Down

0 comments on commit 6eca54f

Please sign in to comment.