# Re: \[PATCH 1/1\] ath10k: fixing wrong initialization of struct channel

- From: Kalle Valo \<hidden\>
- Date: 2015-07-24 07:48:22 
- List: linux-wireless
- Page: https://ratatoskr.run/linux-wireless/2015/07/4542178
- Thread: https://ratatoskr.run/linux-wireless/2015/07/4542178/t.md

```text
Maninder Singh [ref] writes:

> 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.
>
> Signed-off-by: Maninder Singh <redacted>

Thanks, applied.

-- 
Kalle Valo
```
