iso-tester: Fix using shutdown(SHUT_RDWR)
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 18 Aug 2022 21:46:14 +0000 (14:46 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 15 May 2023 09:25:54 +0000 (14:55 +0530)
commite8566ab91ce01feb0ae5ddd2417b795f3d1c9643
tree89602fcf976f2a39b5c46b23302c62a50a3dd7e6
parent5545c6cff9bfb79b6306e706f43623f591d89ed3
iso-tester: Fix using shutdown(SHUT_RDWR)

shutdown(SHUT_RDWR) results in socket being HUP immeditaly instead of
waiting for Disconnect Complete event so instead just use SHUT_WR to
start the disconnect procedure without causing the socket to HUP.

Signed-off-by: Manika Shrivastava <manika.sh@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
tools/iso-tester.c