Re: [PATCH] ath10k: remove NULL ptr deref in variable init of ath10k_monitor_vdev_start

2015-07-28 Thread John W. Linville
On Tue, Jul 28, 2015 at 10:41:11AM +0530, Vasanthakumar Thiagarajan wrote: On Tuesday 28 July 2015 12:52 AM, John W. Linville wrote: In ath10k_monitor_vdev_start, chandef is initialized to NULL and then channel is immediately thereafter initialized to chandef-chan (i.e. NULL-chan). This

Re: [PATCH] ath10k: remove NULL ptr deref in variable init of ath10k_monitor_vdev_start

2015-07-28 Thread Kalle Valo
John W. Linville linvi...@tuxdriver.com writes: On Tue, Jul 28, 2015 at 10:41:11AM +0530, Vasanthakumar Thiagarajan wrote: On Tuesday 28 July 2015 12:52 AM, John W. Linville wrote: In ath10k_monitor_vdev_start, chandef is initialized to NULL and then channel is immediately thereafter

[PATCH] ath10k: remove NULL ptr deref in variable init of ath10k_monitor_vdev_start

2015-07-27 Thread John W. Linville
In ath10k_monitor_vdev_start, chandef is initialized to NULL and then channel is immediately thereafter initialized to chandef-chan (i.e. NULL-chan). This appears to be some sort of cut-n-paste error, since the same assignment is done later (i.e. after chandef has been properly assigned to a

Re: [PATCH] ath10k: remove NULL ptr deref in variable init of ath10k_monitor_vdev_start

2015-07-27 Thread Vasanthakumar Thiagarajan
On Tuesday 28 July 2015 12:52 AM, John W. Linville wrote: In ath10k_monitor_vdev_start, chandef is initialized to NULL and then channel is immediately thereafter initialized to chandef-chan (i.e. NULL-chan). This appears to be some sort of cut-n-paste error, since the same assignment is done