]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
net/ncsi: Don't deselect package in suspend if active
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>
Fri, 16 Nov 2018 04:51:56 +0000 (15:51 +1100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Nov 2018 05:09:49 +0000 (21:09 -0800)
commitcd09ab095c6dc4b2b0860f968a0f3ae8d752e76a
tree9849ce299c85dc1b26f8d852f9ecaf9db98444a6
parent8e13f70be05ee49985dfc3c766868bc85ed43b8a
net/ncsi: Don't deselect package in suspend if active

When a package is deselected all channels of that package cease
communication. If there are other channels active on the package of the
suspended channel this will disable them as well, so only send a
deselect-package command if no other channels are active.

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ncsi/ncsi-manage.c