From 6be5762b52a467cd48d717bf916b6fcc2eddbb55 Mon Sep 17 00:00:00 2001 From: Alexander Egorenkov Date: Sat, 6 Feb 2010 22:06:09 +0100 Subject: [PATCH] AMSDU flag fix in rt2870_rx_frame --- rt2860.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rt2860.c b/rt2860.c index c535f4d..dd26c6c 100644 --- a/rt2860.c +++ b/rt2860.c @@ -5035,7 +5035,7 @@ static int rt2860_rx_eof(struct rt2860_softc *sc, int limit) shortgi = ((rxwi->phymode_stbc_shortgi >> RT2860_RXWI_SHORTGI_SHIFT) & RT2860_RXWI_SHORTGI_MASK); mcs = ((rxwi->bw_mcs >> RT2860_RXWI_MCS_SHIFT) & RT2860_RXWI_MCS_MASK); - amsdu = (desc_flags & RT2860_RXDESC_FLAGS_AMSDU); + amsdu = (desc_flags & RT2860_RXDESC_FLAGS_AMSDU) ? 1 : 0; if (ieee80211_radiotap_active(ic)) { -- 2.11.4.GIT