qcacmn: Redefine FTM processing APIs
The passing parameter length isn't used in FTM processing APIs, It's preferred to define as local variable insteading of passing parameter. Change-Id: Ia767643b51ffc780258e1d2fd0cd6a8a9e222ae2 CRs-fixed: 2464759
This commit is contained in:
5
os_if/linux/ftm/inc/wlan_ioctl_ftm.h
Normal file → Executable file
5
os_if/linux/ftm/inc/wlan_ioctl_ftm.h
Normal file → Executable file
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2019 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -28,11 +28,10 @@
|
||||
* @pdev: pdev object
|
||||
* @cmd: ftm command
|
||||
* @userdata: the content of the command
|
||||
* @length: the length of the userdata
|
||||
*
|
||||
* Return: 0 on success, otherwise the error code.
|
||||
*/
|
||||
int wlan_ioctl_ftm_testmode_cmd(struct wlan_objmgr_pdev *pdev, int cmd,
|
||||
uint8_t *userdata, uint32_t length);
|
||||
uint8_t *userdata);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user