Re: [RESEND] mwifiex: fix NULL pointer dereference error

2016-04-07 Thread Kalle Valo
> In mwifiex_enable_hs, we need to check if > priv->wdev.wiphy->wowlan_config is NULL before accessing its member. > This sometimes cause kernel panic when suspend/resume. > > Signed-off-by: Wei-Ning Huang Thanks, applied to wireless-drivers-next.git. Kalle Valo

Re: [PATCH RESEND] mwifiex: fix NULL pointer dereference error

2016-03-30 Thread Wei-Ning Huang
On Wed, Mar 30, 2016 at 8:00 PM, Kalle Valo wrote: > Wei-Ning Huang writes: > >> Kalle, can you help amend the message if this patch is accepted? > > Sure, I'll fix the typo in the commit log. > > But please try to avoid top posting, it makes it more difficult to > follow the threads. > > -- > Ka

Re: [PATCH RESEND] mwifiex: fix NULL pointer dereference error

2016-03-30 Thread Kalle Valo
Wei-Ning Huang writes: > Kalle, can you help amend the message if this patch is accepted? Sure, I'll fix the typo in the commit log. But please try to avoid top posting, it makes it more difficult to follow the threads. -- Kalle Valo

Re: [PATCH RESEND] mwifiex: fix NULL pointer dereference error

2016-03-30 Thread Sedat Dilek
On Wed, Mar 30, 2016 at 12:38 PM, Wei-Ning Huang wrote: > ah.. thanks. > > Kalle, can you help amend the message if this patch is accepted? > Thanks a lot. > http://its-not-its.info/ - Sedat - > Wei-Ning > > On Wed, Mar 30, 2016 at 6:26 PM, Sedat Dilek wrote: >> On Wed, Mar 30, 2016 at 12:14 P

Re: [PATCH RESEND] mwifiex: fix NULL pointer dereference error

2016-03-30 Thread Wei-Ning Huang
ah.. thanks. Kalle, can you help amend the message if this patch is accepted? Thanks a lot. Wei-Ning On Wed, Mar 30, 2016 at 6:26 PM, Sedat Dilek wrote: > On Wed, Mar 30, 2016 at 12:14 PM, Wei-Ning Huang wrote: >> In mwifiex_enable_hs, we need to check if >> priv->wdev.wiphy->wowlan_config is

Re: [PATCH RESEND] mwifiex: fix NULL pointer dereference error

2016-03-30 Thread Sedat Dilek
On Wed, Mar 30, 2016 at 12:14 PM, Wei-Ning Huang wrote: > In mwifiex_enable_hs, we need to check if > priv->wdev.wiphy->wowlan_config is NULL before accessing it's member. it's... its member (not it's) :-). - Sedat - > This sometimes cause kernel panic when suspend/resume. > > Signed-off-by: We

[PATCH RESEND] mwifiex: fix NULL pointer dereference error

2016-03-30 Thread Wei-Ning Huang
In mwifiex_enable_hs, we need to check if priv->wdev.wiphy->wowlan_config is NULL before accessing it's member. This sometimes cause kernel panic when suspend/resume. Signed-off-by: Wei-Ning Huang --- drivers/net/wireless/marvell/mwifiex/sta_ioctl.c | 3 ++- 1 file changed, 2 insertions(+), 1 de