net: Fix missing __ASSERT_ON micro

Fix missing `__ASSERT_ON` cause build error
when not defined.

Signed-off-by: Lingao Meng <menglingao@xiaomi.com>
1 file changed