android_kernel_oneplus_msm8998/drivers/net/wireless/ath
Maninder Singh 19be9e9a7a ath10k: fix wrong initialization of struct channel
chandef is initialized with NULL and on the very next line, we are using it to
get channel, which is not correct. Channel should be initialized after
obtaining chandef.

Found by cppcheck:

ath/ath10k/mac.c:839]: (error) Possible null pointer dereference: chandef

Signed-off-by: Maninder Singh <maninder1.s@samsung.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
2015-07-24 10:47:32 +03:00
..
ar5523 mac80211: convert HW flags to unsigned long bitmap 2015-06-10 16:05:36 +02:00
ath5k mac80211: convert HW flags to unsigned long bitmap 2015-06-10 16:05:36 +02:00
ath6kl Merge ath-next from ath.git 2015-06-15 13:25:32 +03:00
ath9k ath9k: DFS - add pulse chirp detection for FCC 2015-07-11 19:51:53 +03:00
ath10k ath10k: fix wrong initialization of struct channel 2015-07-24 10:47:32 +03:00
carl9170 mac80211: convert HW flags to unsigned long bitmap 2015-06-10 16:05:36 +02:00
wcn36xx mac80211: convert HW flags to unsigned long bitmap 2015-06-10 16:05:36 +02:00
wil6210 Merge ath-next from ath.git. 2015-07-21 11:36:56 +03:00
ath.h ath9k: Add a new debug flag for FFT spectral scan 2015-05-09 16:46:08 +03:00
debug.c
dfs_pattern_detector.c Merge ath-next from ath.git 2015-04-28 14:44:19 +03:00
dfs_pattern_detector.h
dfs_pri_detector.c ath: DFS - limit number of potential PRI sequences 2015-06-30 15:33:32 +03:00
dfs_pri_detector.h
hw.c
Kconfig
key.c
main.c
Makefile
reg.h
regd.c
regd.h
regd_common.h
spectral_common.h
trace.c
trace.h