net: samples: Fix timeout passed to k_sleep()

Use the appropriate K_SECONDS() macro to pass a timeout to k_sleep().

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
3 files changed