Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 315643
b: refs/heads/master
c: 4340d1c
h: refs/heads/master
i:
  315641: e8e3c9b
  315639: 12c8357
v: v3
  • Loading branch information
Eliad Peller authored and Luciano Coelho committed Jul 18, 2012
1 parent 4eb24a8 commit a04a8f1
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: 42066f9a5ffc212ec0ff5c23ed2fb92464191543
refs/heads/master: 4340d1cf5f1a967074f5dabec09a06fc0ae52ac7
4 changes: 2 additions & 2 deletions trunk/drivers/net/wireless/ti/wlcore/tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -306,15 +306,15 @@ static void wl1271_tx_fill_hdr(struct wl1271 *wl, struct wl12xx_vif *wlvif,
rate_idx = 0;
else if (wlvif->bss_type != BSS_TYPE_AP_BSS) {
/*
* if the packets are destined for AP (have a STA entry)
* if the packets are data packets
* send them with AP rate policies (EAPOLs are an exception),
* otherwise use default basic rates
*/
if (skb->protocol == cpu_to_be16(ETH_P_PAE))
rate_idx = wlvif->sta.basic_rate_idx;
else if (control->flags & IEEE80211_TX_CTL_NO_CCK_RATE)
rate_idx = wlvif->sta.p2p_rate_idx;
else if (control->control.sta)
else if (ieee80211_is_data(frame_control))
rate_idx = wlvif->sta.ap_rate_idx;
else
rate_idx = wlvif->sta.basic_rate_idx;
Expand Down

0 comments on commit a04a8f1

Please sign in to comment.