mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
qcacld-3.0: ipa offload data path only support STA and SAP
ipa hardware data path should only support sap/sta mode. P2PGo, P2PCli and all other mode should not support IPA offload data path. Any ipa event came from non-sta/sap adapter should be ignored and return success. Change-Id: If2b6e9026d351ac5fb3c87e8f65df1615dfb154a CRs-fixed: 1078289
This commit is contained in:
parent
69c3969138
commit
a202b52f06
1 changed files with 6 additions and 1 deletions
|
|
@ -4080,7 +4080,12 @@ int hdd_ipa_wlan_evt(hdd_adapter_t *adapter, uint8_t sta_id,
|
|||
{
|
||||
enum ipa_wlan_event type = hdd_to_ipa_wlan_event(hdd_event_type);
|
||||
|
||||
return __hdd_ipa_wlan_evt(adapter, sta_id, type, mac_addr);
|
||||
/* Data path offload only support for STA and SAP mode */
|
||||
if ((QDF_STA_MODE == adapter->device_mode) ||
|
||||
(QDF_SAP_MODE == adapter->device_mode))
|
||||
return __hdd_ipa_wlan_evt(adapter, sta_id, type, mac_addr);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue