Re: [PATCH] mwifiex: fix unconditional error return in .add_virtual_intf callback

2 messages, 2 authors, 2016-07-05 · open the first message on its own page

Re: [PATCH] mwifiex: fix unconditional error return in .add_virtual_intf callback

From: Kalle Valo <hidden>
Date: 2016-07-05 13:09:36

Javier Martinez Canillas [off-list ref] writes:
The commit 7311ea850079 ("mwifiex: fix AP start problem for newly added
interface") attempted to fix an issue when a new AP interface is added.

But the patch didn't check the return value of the functions doing the
firmware calls and returned an error even if the functions didn't fail.

This prevents the network device to be registered properly, so fix it.

Fixes: commit 7311ea850079 ("mwifiex: fix AP start problem for newly added interface")
Signed-off-by: Javier Martinez Canillas <redacted>
The fixes line should be:

Fixes: 7311ea850079 ("mwifiex: fix AP start problem for newly added interface")

I can fix that before I apply the patch.

-- 
Kalle Valo

Re: [PATCH] mwifiex: fix unconditional error return in .add_virtual_intf callback

From: Javier Martinez Canillas <hidden>
Date: 2016-07-05 13:18:37

Hello Kalle,

On 07/05/2016 09:09 AM, Kalle Valo wrote:
Javier Martinez Canillas [off-list ref] writes:
quoted
The commit 7311ea850079 ("mwifiex: fix AP start problem for newly added
interface") attempted to fix an issue when a new AP interface is added.

But the patch didn't check the return value of the functions doing the
firmware calls and returned an error even if the functions didn't fail.

This prevents the network device to be registered properly, so fix it.

Fixes: commit 7311ea850079 ("mwifiex: fix AP start problem for newly added interface")
Signed-off-by: Javier Martinez Canillas <redacted>
The fixes line should be:

Fixes: 7311ea850079 ("mwifiex: fix AP start problem for newly added interface")

I can fix that before I apply the patch.
Sigh, it was a copy and paste error when I copied the SHA-1 from the
commit message. Sorry about that and thanks for taking care of this.

Best regards,
-- 
Javier Martinez Canillas
Open Source Group
Samsung Research America
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help