ath10k: fix checkpatch warning about logical continuations
authorKalle Valo <kvalo@qca.qualcomm.com>
Mon, 5 Oct 2015 14:56:34 +0000 (17:56 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 6 Oct 2015 11:39:27 +0000 (14:39 +0300)
checkpatch found:

drivers/net/wireless/ath/ath9k/core.c:490: Logical continuations should be on the previous line

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/core.c

index 879625a..87ad2e9 100644 (file)
@@ -486,8 +486,8 @@ static int ath10k_download_and_run_otp(struct ath10k *ar)
        ath10k_dbg(ar, ATH10K_DBG_BOOT, "boot otp execute result %d\n", result);
 
        if (!(skip_otp || test_bit(ATH10K_FW_FEATURE_IGNORE_OTP_RESULT,
-                                  ar->fw_features))
-           && result != 0) {
+                                  ar->fw_features)) &&
+           result != 0) {
                ath10k_err(ar, "otp calibration failed: %d", result);
                return -EINVAL;
        }