selftests: drv-net: hds: restore hds settings

[ Upstream commit ee3ae27721 ]

The test currently modifies the HDS settings and doesn't restore them.
This may cause subsequent tests to fail (or pass when they should not).
Add defer()ed reset handling.

Link: https://patch.msgid.link/20250825175939.2249165-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Jakub Kicinski 2025-08-25 10:59:39 -07:00 • committed by Greg Kroah-Hartman
commit 165d2ec10d