Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: dsa: Do not suspend/resume closed slave_dev
If a DSA slave network device was previously disabled, there is no need to suspend or resume it. Fixes: 2446254 ("net: dsa: allow switch drivers to implement suspend/resume hooks") Signed-off-by: Florian Fainelli <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information