Network backend: Fix saved mask not properly copied

Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>