In wil_p2p_listen chan is checked to protect against NULL
pointer access only before setting channel = chan->hw_value.
Add a global parameter check to cover all accesses to chan.
Signed-off-by: Maya Erez
---
drivers/net/wireless/ath/wil6210/p2p.c | 6 --
1 file changed, 4 insertions(+), 2 de
Maya Erez wrote:
> In wil_p2p_listen chan is checked to protect against NULL
> pointer access only before setting channel = chan->hw_value.
> Add a global parameter check to cover all accesses to chan.
>
> Signed-off-by: Maya Erez
Thanks, 2 patches applied to ath-next branch of ath.git:
9c830a