[PATCH] ieee80211: Fix CCMP decryption problem when QoS is enabled Signed-off-by: Zhu Yi <[EMAIL PROTECTED]> --
diff -urp ieee80211-1.1.12/ieee80211_crypt_ccmp.c ieee80211-1.1.12-qos/ieee80211_crypt_ccmp.c --- ieee80211-1.1.12/ieee80211_crypt_ccmp.c 2006-02-28 15:04:33.000000000 +0800 +++ ieee80211-1.1.12-qos/ieee80211_crypt_ccmp.c 2006-02-28 15:04:27.000000000 +0800 @@ -131,7 +131,7 @@ static void ccmp_init_blocks(struct cryp a4_included = ((fc & (IEEE80211_FCTL_TODS | IEEE80211_FCTL_FROMDS)) == (IEEE80211_FCTL_TODS | IEEE80211_FCTL_FROMDS)); qc_included = ((WLAN_FC_GET_TYPE(fc) == IEEE80211_FTYPE_DATA) && - (WLAN_FC_GET_STYPE(fc) & 0x08)); + (WLAN_FC_GET_STYPE(fc) & IEEE80211_STYPE_QOS_DATA)); aad_len = 22; if (a4_included) aad_len += 6; - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html