[PATCH 1/2] wil6210: fix chan check in wil_p2p_listen

2016-06-08 Thread Maya Erez
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

Re: [1/2] wil6210: fix chan check in wil_p2p_listen

2016-06-14 Thread Kalle Valo
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