qcacmn: enable DP AP Bridge when SAP mode turned on

Enable DP AP Bridge when SAP mode turned on, CONFIG_MCL cleanup.

Change-Id: I96fa3c263064fe4e438c98246d02dbc50437984b
This commit is contained in:
Vevek Venkatesan
2019-06-25 19:01:19 +05:30
committed by nshrivas
parent f5ecc601ca
commit acd3a070da
2 changed files with 8 additions and 10 deletions

View File

@@ -40,20 +40,10 @@
#define DP_RX_TID_SAVE(_nbuf, _tid)
#endif
#ifdef CONFIG_MCL
static inline bool dp_rx_check_ap_bridge(struct dp_vdev *vdev)
{
if (vdev->opmode != wlan_op_mode_sta)
return true;
else
return false;
}
#else
static inline bool dp_rx_check_ap_bridge(struct dp_vdev *vdev)
{
return vdev->ap_bridge_enabled;
}
#endif
/*
* dp_rx_dump_info_and_assert() - dump RX Ring info and Rx Desc info