qcacld-3.0: Fix compilation issue related to DP component

Fix compilation issue related to cfg80211_rx_control_port
API in DP component

Change-Id: I9bff854197eb2baae333b54b338141ffa5c6b012
CRs-Fixed: 3194152
This commit is contained in:
Roopavathi Lingampalli
2022-05-11 14:59:14 +05:30
committed by Madan Koyyalamudi
parent 2e5695eb0f
commit 881a91c93b
2 changed files with 3 additions and 2 deletions

View File

@@ -623,8 +623,8 @@ struct wlan_dp_psoc_callbacks {
bool (*dp_is_gratuitous_arp_unsolicited_na)(qdf_nbuf_t nbuf); bool (*dp_is_gratuitous_arp_unsolicited_na)(qdf_nbuf_t nbuf);
QDF_STATUS (*dp_send_rx_pkt_over_nl)(qdf_netdev_t dev, uint8_t *addr, bool (*dp_send_rx_pkt_over_nl)(qdf_netdev_t dev, uint8_t *addr,
qdf_nbuf_t nbuf, bool unecrypted); qdf_nbuf_t nbuf, bool unecrypted);
bool bool
(*wlan_dp_sta_get_dot11mode)(hdd_cb_handle context, uint8_t vdev_id, (*wlan_dp_sta_get_dot11mode)(hdd_cb_handle context, uint8_t vdev_id,
enum qca_wlan_802_11_mode *dot11_mode); enum qca_wlan_802_11_mode *dot11_mode);

View File

@@ -402,6 +402,7 @@ osif_dp_register_arp_unsolicited_cbk(struct wlan_dp_psoc_callbacks *cb_obj)
#endif #endif
#if defined(CFG80211_CTRL_FRAME_SRC_ADDR_TA_ADDR) #if defined(CFG80211_CTRL_FRAME_SRC_ADDR_TA_ADDR)
static
bool osif_dp_cfg80211_rx_control_port(qdf_netdev_t dev, u8 *ta_addr, bool osif_dp_cfg80211_rx_control_port(qdf_netdev_t dev, u8 *ta_addr,
qdf_nbuf_t nbuf, bool unencrypted) qdf_nbuf_t nbuf, bool unencrypted)
{ {