Merge "qcacld-3.0: Sanity check on tx len before sending" into wlan-cld3.driver.lnx.2.0

This commit is contained in:
CNSS_WLAN Service 2017-11-23 03:47:24 -08:00 • committed by Gerrit - the friendly Code Review server
commit d9b0e4f8df

View file

@ -1782,6 +1782,8 @@ htt_tx_desc_init(htt_pdev_handle pdev,
HTT_TX_DESC_FRM_LEN_SET(local_word1, qdf_nbuf_len(msdu));
}
QDF_BUG(HTT_TX_DESC_FRM_LEN_GET(local_word1) != 0);
HTT_TX_DESC_FRM_ID_SET(local_word1, msdu_id);
*word1 = local_word1;