qcacmn: Fix for Vlan Header initialize
Vlan Header is not initialize before passing it to IPA driver, due to this some Vlan header fields are junk and causing issue in IPA driver. Fix is to initialize the header with 0 CRs-Fixed: 3342771 Change-Id: Ic29e0822f32bec5ea71702ceea75b7354caeda65
This commit is contained in:

committed by
Madan Koyyalamudi

szülő
993c0b242f
commit
051821c54f
@@ -2855,6 +2855,12 @@ QDF_STATUS dp_ipa_setup_iface(char *ifname, uint8_t *mac_addr,
|
||||
|
||||
qdf_mem_zero(&in, sizeof(qdf_ipa_wdi_reg_intf_in_params_t));
|
||||
|
||||
/* Need to reset the values to 0 as all the fields are not
|
||||
* updated in the Header, Unused fields will be set to 0.
|
||||
*/
|
||||
qdf_mem_zero(&uc_tx_vlan_hdr, sizeof(struct dp_ipa_uc_tx_vlan_hdr));
|
||||
qdf_mem_zero(&uc_tx_vlan_hdr_v6, sizeof(struct dp_ipa_uc_tx_vlan_hdr));
|
||||
|
||||
dp_debug("Add Partial hdr: %s, "QDF_MAC_ADDR_FMT, ifname,
|
||||
QDF_MAC_ADDR_REF(mac_addr));
|
||||
qdf_mem_zero(&hdr_info, sizeof(qdf_ipa_wdi_hdr_info_t));
|
||||
|
Reference in New Issue
Block a user