Re: [PATCH] wifi: mwl8k: initialize cmd->addr[] properly

From: Kalle Valo
Date: Tue May 07 2024 - 08:08:39 EST


Dan Carpenter <dan.carpenter@xxxxxxxxxx> wrote:

> This loop is supposed to copy the mac address to cmd->addr but the
> i++ increment is missing so it copies everything to cmd->addr[0] and
> only the last address is recorded.
>
> Fixes: 22bedad3ce11 ("net: convert multicast list to list_head")
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

Patch applied to wireless-next.git, thanks.

1d60eabb8269 wifi: mwl8k: initialize cmd->addr[] properly

--
https://patchwork.kernel.org/project/linux-wireless/patch/b788be9a-15f5-4cca-a3fe-79df4c8ce7b2@moroto.mountain/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches