There are multiple issues with wmi_unified_nat_keepalive_enable(): 1) WMA global functions should have a wma_ prefix. 2) The function prototype indicates it should return int status, and the one caller, wma_add_sta_req_sta_mode(), is expecting that, but it actually returns QDF_STATUS. 3) The function is a very thin wrapper that calls the unified WMI API wmi_unified_nat_keepalive_en_cmd() and hence adds no real value. Rather than address these issues, just remove the function and update wma_add_sta_req_sta_mode() to directly call the unified WMI API wmi_unified_nat_keepalive_en_cmd(). Change-Id: I13a4140ba6343240bde51704af2921c001f66a21 CRs-Fixed: 2271552 |
||
---|---|---|
.. | ||
inc | ||
src |