Преглед изворни кода

qcacld-3.0: Fix whitespace issues in WE_UNIT_TEST_CMD handler

Change "qcacld-3.0: Provide SME API to send unit test command to FW"
introduced two whitespace-related issues flagged by checkpatch:
- WARNING: suspect code indent for conditional statements (16, 20)
- WARNING: Statements should start on a tabstop

Fix those issues, as well as update an error message to align with the
new design.

Change-Id: Ic58c3330f73c838ba100e7621ce23eadc3f0d7b0
CRs-Fixed: 2122894
Jeff Johnson пре 7 година
родитељ
комит
21d63bbde7
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      core/hdd/src/wlan_hdd_wext.c

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

@@ -11222,8 +11222,8 @@ static int __iw_set_var_ints_getnone(struct net_device *dev,
 						apps_args[1],
 						&apps_args[2]);
 		if (QDF_STATUS_SUCCESS != status) {
-		    hdd_err("Not able to post UNIT_TEST_CMD message to WMA");
-		    return -EINVAL;
+			hdd_err("sme_send_unit_test_cmd returned %d", status);
+			return -EINVAL;
 		}
 	}
 	break;