Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 150153
b: refs/heads/master
c: 4edf040
h: refs/heads/master
i:
  150151: 3fced74
v: v3
  • Loading branch information
Gábor Stefanik authored and John W. Linville committed May 6, 2009
1 parent 8da9e14 commit 8bae066
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 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: 2516baa63bc7d05a6573a0f584135484ed182a87
refs/heads/master: 4edf040afc9237aa8cc90bcf54b521ac47d1ed78
8 changes: 5 additions & 3 deletions trunk/net/mac80211/rc80211_minstrel.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,7 @@ use_low_rate(struct sk_buff *skb)
fc = le16_to_cpu(hdr->frame_control);

return ((info->flags & IEEE80211_TX_CTL_NO_ACK) ||
(fc & IEEE80211_FCTL_FTYPE) != IEEE80211_FTYPE_DATA ||
is_multicast_ether_addr(hdr->addr1));
(fc & IEEE80211_FCTL_FTYPE) != IEEE80211_FTYPE_DATA);
}


Expand Down Expand Up @@ -245,7 +244,10 @@ minstrel_get_rate(void *priv, struct ieee80211_sta *sta,

if (!sta || !mi || use_low_rate(skb)) {
ar[0].idx = rate_lowest_index(sband, sta);
ar[0].count = mp->max_retry;
if (info->flags & IEEE80211_TX_CTL_NO_ACK)
ar[0].count = 1;
else
ar[0].count = mp->max_retry;
return;
}

Expand Down

0 comments on commit 8bae066

Please sign in to comment.