View | Details | Raw Unified | Return to bug 14168 | Differences between
and this patch

Collapse All | Expand All

(-)wireless-testing-new/drivers/net/wireless/rtl818x/rtl8187/dev.c (+2 lines)
Lines 517-522 static void rtl8187b_status_cb(struct ur Link Here
517
			if (tok)
517
			if (tok)
518
				info->flags |= IEEE80211_TX_STAT_ACK;
518
				info->flags |= IEEE80211_TX_STAT_ACK;
519
			info->status.rates[0].count = pkt_rc + 1;
519
			info->status.rates[0].count = pkt_rc + 1;
520
			info->status.rates[1].idx = -1;
520
521
521
			ieee80211_tx_status_irqsafe(hw, skb);
522
			ieee80211_tx_status_irqsafe(hw, skb);
522
		}
523
		}
Lines 896-901 static void rtl8187_work(struct work_str Link Here
896
		old_skb = skb_dequeue(&priv->b_tx_status.queue);
897
		old_skb = skb_dequeue(&priv->b_tx_status.queue);
897
		info = IEEE80211_SKB_CB(old_skb);
898
		info = IEEE80211_SKB_CB(old_skb);
898
		info->status.rates[0].count = avg_retry + 1;
899
		info->status.rates[0].count = avg_retry + 1;
900
		info->status.rates[1].idx = -1;
899
		if (info->status.rates[0].count > RETRY_COUNT)
901
		if (info->status.rates[0].count > RETRY_COUNT)
900
			info->flags &= ~IEEE80211_TX_STAT_ACK;
902
			info->flags &= ~IEEE80211_TX_STAT_ACK;
901
		ieee80211_tx_status_irqsafe(dev, old_skb);
903
		ieee80211_tx_status_irqsafe(dev, old_skb);

Return to bug 14168