Browse Source

qcacld-3.0: Rename HDD identifier p2pNoA

The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier p2pNoA to be compliant.

Change-Id: Ia43f9794d94c37457c13fee5aafc7a7bd14de48f
CRs-Fixed: 2417586
Jeff Johnson 6 years ago
parent
commit
156cd081f8
1 changed files with 9 additions and 9 deletions
  1. 9 9
      core/hdd/src/wlan_hdd_wext.c

+ 9 - 9
core/hdd/src/wlan_hdd_wext.c

@@ -7880,7 +7880,7 @@ static int __iw_set_var_ints_getnone(struct net_device *dev,
 
 	case WE_P2P_NOA_CMD:
 	{
-		struct p2p_app_set_ps p2pNoA;
+		struct p2p_app_set_ps p2p_noa;
 
 		if (adapter->device_mode != QDF_P2P_GO_MODE) {
 			hdd_err("Setting NoA is not allowed in Device mode %s(%d)",
@@ -7889,20 +7889,20 @@ static int __iw_set_var_ints_getnone(struct net_device *dev,
 			return -EINVAL;
 		}
 
-		p2pNoA.opp_ps = apps_args[0];
-		p2pNoA.ctWindow = apps_args[1];
-		p2pNoA.duration = apps_args[2];
-		p2pNoA.interval = apps_args[3];
-		p2pNoA.count = apps_args[4];
-		p2pNoA.single_noa_duration = apps_args[5];
-		p2pNoA.psSelection = apps_args[6];
+		p2p_noa.opp_ps = apps_args[0];
+		p2p_noa.ctWindow = apps_args[1];
+		p2p_noa.duration = apps_args[2];
+		p2p_noa.interval = apps_args[3];
+		p2p_noa.count = apps_args[4];
+		p2p_noa.single_noa_duration = apps_args[5];
+		p2p_noa.psSelection = apps_args[6];
 
 		hdd_debug("P2P_NOA_ATTR:oppPS %d ctWindow %d duration %d interval %d count %d single noa duration %d PsSelection %x",
 			   apps_args[0], apps_args[1], apps_args[2],
 			   apps_args[3], apps_args[4],
 			   apps_args[5], apps_args[6]);
 
-		hdd_set_p2p_ps(dev, &p2pNoA);
+		hdd_set_p2p_ps(dev, &p2p_noa);
 
 	}
 	break;