Files
android_kernel_xiaomi_sm8450/drivers/net/wireless/ath/ath9k
Arnd Bergmann 362210e0df ath9k: fix misleading indentation
A cleanup patch in linux-3.18 moved around some code in the ath9k
driver and left some code to be indented in a misleading way,
made worse by the addition of some new code for p2p mode, as
discovered by a new gcc-6 warning:

drivers/net/wireless/ath/ath9k/init.c: In function 'ath9k_set_hw_capab':
drivers/net/wireless/ath/ath9k/init.c:851:4: warning: statement is indented as if it were guarded by... [-Wmisleading-indentation]
    hw->wiphy->iface_combinations = if_comb;
    ^~
drivers/net/wireless/ath/ath9k/init.c:847:3: note: ...this 'if' clause, but it is not
   if (ath9k_is_chanctx_enabled())
   ^~

The code is in fact correct, but the indentation is not, so I'm
reformatting it as it should have been after the original cleanup.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 499afaccf6 ("ath9k: Isolate ath9k_use_chanctx module parameter")
Fixes: eb61f9f623 ("ath9k: advertise p2p dev support when chanctx")
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-03-14 13:09:49 -04:00
..
2015-01-15 14:24:57 +02:00
2015-03-03 14:55:24 +02:00
2015-03-13 15:19:36 +02:00
2015-10-28 20:57:13 +02:00
2015-09-29 10:39:22 +03:00
2016-03-14 13:09:49 -04:00
2015-04-07 20:15:01 +03:00
2015-09-29 10:39:22 +03:00
2014-02-12 15:36:03 -05:00
2015-06-15 12:44:34 +03:00
2015-03-20 08:27:17 +02:00
2016-03-14 13:09:49 -04:00
2015-01-15 14:25:03 +02:00
2015-10-28 20:57:13 +02:00
2016-03-06 14:57:44 +02:00
2015-03-03 14:55:24 +02:00
2015-02-03 15:31:04 +02:00
2015-03-03 14:55:27 +02:00
2015-02-26 14:58:43 +02:00
2014-10-27 14:16:14 -04:00