From f643469420c1491cecca63dfcba199db74cd919b Mon Sep 17 00:00:00 2001 From: Alexander Egorenkov Date: Thu, 4 Feb 2010 16:59:16 +0100 Subject: [PATCH] Fixed wrong pid for Tx feedback --- rt2870.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rt2870.c b/rt2870.c index 5efce50..a8be7a2 100644 --- a/rt2870.c +++ b/rt2870.c @@ -3904,7 +3904,7 @@ static int rt2870_tx_mgmt(struct rt2870_softc *sc, else mcs = rt2870_rate2mcs(rate); - pid = mcs + 1; + pid = mcs; /* calculate MPDU length without padding */ @@ -4143,7 +4143,7 @@ static int rt2870_tx_data(struct rt2870_softc *sc, else mcs = rt2870_rate2mcs(rate); - pid = mcs + 1; + pid = mcs; wcid = (type == IEEE80211_FC0_TYPE_DATA) ? RT2870_AID2WCID(ni->ni_associd) : 0xff; -- 2.11.4.GIT