android_kernel_xiaomi_sm8350/core/wma
Jeff Johnson 75873e9608 qcacld-3.0: Replace wmi_unified_nat_keepalive_enable()
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
2018-07-05 10:00:59 -07:00
..
inc qcacld-3.0: Replace wmi_unified_nat_keepalive_enable() 2018-07-05 10:00:59 -07:00
src qcacld-3.0: Replace wmi_unified_nat_keepalive_enable() 2018-07-05 10:00:59 -07:00