mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 12:10:52 -04:00
qcacld-3.0: Fix compilation error when Motion detection enabled
Fixed compilation error when WLAN_FEATURE_MOTION_DETECTION is enabled Limited rate of error console log Change-Id: I0335fb1358be58d68b99b0632406a9102dbd5d4e CRs-Fixed: 2400835
This commit is contained in:
parent
d462d9c62b
commit
6488a1cd4e
4 changed files with 6 additions and 6 deletions
|
|
@ -8072,7 +8072,7 @@ static int __iw_set_var_ints_getnone(struct net_device *dev,
|
|||
struct sme_motion_det_cfg motion_det_cfg;
|
||||
|
||||
if (num_args != 15) {
|
||||
hdd_err("mt_config: Invalid no of args");
|
||||
hdd_err_rl("mt_config: Invalid no of args");
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
|
@ -8100,7 +8100,7 @@ static int __iw_set_var_ints_getnone(struct net_device *dev,
|
|||
struct sme_motion_det_base_line_cfg motion_det_base_line_cfg;
|
||||
|
||||
if (num_args != 4) {
|
||||
hdd_err("mt_bl_config: Invalid no of args");
|
||||
hdd_err_rl("mt_bl_config: Invalid no of args");
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
|
@ -8120,7 +8120,7 @@ static int __iw_set_var_ints_getnone(struct net_device *dev,
|
|||
QDF_STATUS status;
|
||||
|
||||
if (num_args != 7) {
|
||||
hdd_err("set_thermal_cfg: Invalid no of args");
|
||||
hdd_err_rl("set_thermal_cfg: Invalid no of args");
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -248,7 +248,7 @@ typedef void (*hidden_ssid_cb)(hdd_handle_t hdd_handle,
|
|||
uint8_t vdev_id);
|
||||
|
||||
#ifdef WLAN_FEATURE_MOTION_DETECTION
|
||||
typedef QDF_STATUS (*md_host_evt_cb)(void *hdd_ctx, sir_md_evt *event);
|
||||
typedef QDF_STATUS (*md_host_evt_cb)(void *hdd_ctx, struct sir_md_evt *event);
|
||||
#endif /* WLAN_FEATURE_MOTION_DETECTION */
|
||||
|
||||
typedef struct tagSmeStruct {
|
||||
|
|
|
|||
|
|
@ -1783,7 +1783,7 @@ static void wma_inc_wow_stats(t_wma_handle *wma,
|
|||
stats->pwr_save_fail_detected++;
|
||||
break;
|
||||
#ifdef WLAN_FEATURE_MOTION_DETECTION
|
||||
case WOW_REASON_WLAN_MD::
|
||||
case WOW_REASON_WLAN_MD:
|
||||
stats->motion_detect++;
|
||||
break;
|
||||
case WOW_REASON_WLAN_BL:
|
||||
|
|
|
|||
|
|
@ -8190,7 +8190,7 @@ static QDF_STATUS wma_set_motion_det_base_line_enable(
|
|||
qdf_mem_zero(cmd, sizeof(*cmd));
|
||||
|
||||
WMITLV_SET_HDR(
|
||||
cmd->tlv_header,
|
||||
&cmd->tlv_header,
|
||||
WMITLV_TAG_STRUC_wmi_motion_det_base_line_start_stop_cmd_fixed_param,
|
||||
WMITLV_GET_STRUCT_TLVLEN(
|
||||
wmi_motion_det_base_line_start_stop_cmd_fixed_param));
|
||||
|
|
|
|||
Loading…
Reference in a new issue