Merge "qcacmn: CCE Classify only for non encrypted packets"

This commit is contained in:
Linux Build Service Account 2018-05-21 02:10:37 -07:00 • committed by Gerrit - the friendly Code Review server
commit ab190639a7

View file

@ -931,6 +931,9 @@ static bool dp_cce_classify(struct dp_vdev *vdev, qdf_nbuf_t nbuf)
sizeof(struct ether_header));
} else {
qos_wh = (qdf_dot3_qosframe_t *) nbuf->data;
/* For encrypted packets don't do any classification */
if (qdf_unlikely(qos_wh->i_fc[1] & IEEE80211_FC1_WEP))
return false;
if (qdf_unlikely(qos_wh->i_fc[0] & QDF_IEEE80211_FC0_SUBTYPE_QOS)) {
if (qdf_unlikely(