mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-24 19:10:26 +00:00
wifi: mwl8k: initialize cmd->addr[] properly
[ Upstream commit1d60eabb82] 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:22bedad3ce("net: convert multicast list to list_head") Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://msgid.link/b788be9a-15f5-4cca-a3fe-79df4c8ce7b2@moroto.mountain Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
db9214833e
commit
9d08e7fd44
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue