]> git.baikalelectronics.ru Git - 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)
commit545004ed2a7ae166357a16ef1754e0d11ae85cc5
tree9849ce299c85dc1b26f8d852f9ecaf9db98444a6
parent5c5cbd48e749554b2ac81e2ec4d893f313bcc23c
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