From 8a23b2e211576a64867c137abea62e0b25bdf2aa Mon Sep 17 00:00:00 2001 From: coypu Date: Sat, 17 Sep 2016 08:37:58 +0300 Subject: [PATCH 21/27] use brackets around long sentence after if suggested by gcc (which otherwise errors) --- sys/external/isc/atheros_hal/dist/ar5416/ar5416_attach.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/external/isc/atheros_hal/dist/ar5416/ar5416_attach.c b/sys/external/isc/atheros_hal/dist/ar5416/ar5416_attach.c index 4b9ebda..7a7c30b 100644 --- a/sys/external/isc/atheros_hal/dist/ar5416/ar5416_attach.c +++ b/sys/external/isc/atheros_hal/dist/ar5416/ar5416_attach.c @@ -495,10 +495,11 @@ ar5416Detach(struct ath_hal *ah) HALASSERT(ah->ah_magic == AR5416_MAGIC); /* Make sure that chip is awake before writing to it */ - if (! ar5416SetPowerMode(ah, HAL_PM_AWAKE, AH_TRUE)) + if (! ar5416SetPowerMode(ah, HAL_PM_AWAKE, AH_TRUE)) { HALDEBUG(ah, HAL_DEBUG_UNMASKABLE, "%s: failed to wake up chip\n", __func__); + } ar5416AniDetach(ah); ar5212RfDetach(ah); -- 2.9.3