Bläddra i källkod

qcacld-3.0: Allow qos null frames in packet capture mode

Do not drop qos null frames in packet capture. so remove
check for qos null frames in packet capture mode.

Change-Id: Ie3a700cbc5a7e582ea7cfc39ebd62880265f8f7d
CRs-Fixed: 2973279
Vulupala Shashank Reddy 3 år sedan
förälder
incheckning
e2e99c1424
1 ändrade filer med 0 tillägg och 6 borttagningar
  1. 0 6
      components/pkt_capture/core/src/wlan_pkt_capture_mon_thread.c

+ 0 - 6
components/pkt_capture/core/src/wlan_pkt_capture_mon_thread.c

@@ -43,12 +43,6 @@ void pkt_capture_mon(struct pkt_capture_cb_context *cb_ctx, qdf_nbuf_t msdu,
 	type = (wh)->i_fc[0] & IEEE80211_FC0_TYPE_MASK;
 	sub_type = (wh)->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK;
 
-	if ((type == QDF_IEEE80211_FC0_TYPE_DATA) &&
-	    (sub_type == QDF_IEEE80211_FC0_SUBTYPE_QOS_NULL)) {
-		qdf_nbuf_free(msdu);
-		return;
-	}
-
 	if ((type == IEEE80211_FC0_TYPE_MGT) &&
 	    (sub_type == MGMT_SUBTYPE_AUTH)) {
 		uint8_t chan = wlan_reg_freq_to_chan(pdev, ch_freq);