linux/drivers/net/wireless
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
..
admtek
ath ath9k: fix misleading indentation 2016-03-14 13:09:49 -04:00
atmel at76c50x-usb: avoid double usb_put_dev() after downloading internal firmware in at76_probe() 2016-03-07 14:24:06 +02:00
broadcom brcmfmac: Remove waitqueue_active check 2016-03-10 14:57:56 +02:00
cisco
intel * update GSCAN capabilities (Ayala) 2016-03-10 14:53:35 +02:00
intersil hostap: avoid uninitialized variable use in hfa384x_get_rid 2016-02-06 13:59:24 +02:00
marvell mwifiex: Empty Tx queue during suspend 2016-03-10 14:58:39 +02:00
mediatek mt7601u: do not free dma_buf when ivp allocation fails 2016-03-07 14:39:05 +02:00
ralink rt2x00: add new rt2800usb device Buffalo WLI-UC-G450 2016-03-07 14:27:35 +02:00
realtek rtl8xxxu: Temporarily disable 8192eu device init 2016-03-10 15:29:21 +02:00
rsi mac80211: pass block ack session timeout to to driver 2016-01-14 11:13:17 +01:00
st wireless: cw1200: use __maybe_unused to hide pm functions_ 2016-03-08 12:32:52 +02:00
ti wlcore/wl18xx: add radar_debug_mode handling 2016-03-10 15:00:23 +02:00
zydas
Kconfig
mac80211_hwsim.c mac80211_hwsim: use reset to set mac header 2016-03-04 22:45:13 -05:00
mac80211_hwsim.h
Makefile
ray_cs.c
ray_cs.h
rayctl.h
rndis_wlan.c
wl3501_cs.c
wl3501.h