Browse Source

qcacld-3.0: Rename HDD variable pTargetApBssid

The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD local variable pTargetApBssid to be
compliant.

Change-Id: I976939bf9093d3f5a1bdd523090cc659cd15864a
CRs-Fixed: 2405760
Jeff Johnson 6 years ago
parent
commit
b7d52797cb
1 changed files with 6 additions and 6 deletions
  1. 6 6
      core/hdd/src/wlan_hdd_ioctl.c

+ 6 - 6
core/hdd/src/wlan_hdd_ioctl.c

@@ -528,7 +528,7 @@ error:
 /**
  * hdd_parse_send_action_frame_data() - HDD Parse send action frame data
  * @command: Pointer to input data
- * @pTargetApBssid: Pointer to target Ap bssid
+ * @bssid: Pointer to target Ap bssid
  * @pChannel: Pointer to the Target AP channel
  * @dwell_time: Pointer to the time to stay off-channel
  *              after transmitting action frame
@@ -542,7 +542,7 @@ error:
  */
 static int
 hdd_parse_send_action_frame_v1_data(const uint8_t *command,
-				    uint8_t *pTargetApBssid,
+				    uint8_t *bssid,
 				    uint8_t *pChannel, uint8_t *dwell_time,
 				    uint8_t **pBuf, uint8_t *pBufLen)
 {
@@ -555,7 +555,7 @@ hdd_parse_send_action_frame_v1_data(const uint8_t *command,
 	uint8_t tempBuf[32];
 	uint8_t tempByte = 0;
 
-	if (_hdd_parse_bssid_and_chan(&inPtr, pTargetApBssid, pChannel))
+	if (_hdd_parse_bssid_and_chan(&inPtr, bssid, pChannel))
 		return -EINVAL;
 
 	/* point to the next argument */
@@ -641,7 +641,7 @@ hdd_parse_send_action_frame_v1_data(const uint8_t *command,
 /**
  * hdd_parse_reassoc_command_data() - HDD Parse reassoc command data
  * @command: Pointer to input data (its a NULL terminated string)
- * @pTargetApBssid: Pointer to target Ap bssid
+ * @bssid: Pointer to target Ap bssid
  * @pChannel: Pointer to the Target AP channel
  *
  * This function parses the reasoc command data passed in the format
@@ -650,12 +650,12 @@ hdd_parse_send_action_frame_v1_data(const uint8_t *command,
  * Return: 0 for success non-zero for failure
  */
 static int hdd_parse_reassoc_command_v1_data(const uint8_t *command,
-					     uint8_t *pTargetApBssid,
+					     uint8_t *bssid,
 					     uint8_t *pChannel)
 {
 	const uint8_t *inPtr = command;
 
-	if (_hdd_parse_bssid_and_chan(&inPtr, pTargetApBssid, pChannel))
+	if (_hdd_parse_bssid_and_chan(&inPtr, bssid, pChannel))
 		return -EINVAL;
 
 	return 0;