netutils/wifi: fix data abort in monitor thread on exit
authorEunBong Song <eunb.song@samsung.com>
Wed, 12 Apr 2017 23:29:05 +0000 (08:29 +0900)
committerHeesub Shin <heesub.shin@samsung.com>
Tue, 18 Apr 2017 03:02:17 +0000 (12:02 +0900)
commit2bbf4caa845baebfeb1234f6a7c27ba6f0fda092
tree13d271700be384106a40641a3dca98bc6053fc64
parentab22c4894a9dc31fe812cd96a34214beb9851853
netutils/wifi: fix data abort in monitor thread on exit

Caused by the fact that both monitor and main task made calls to
supplicant and 'terminate' overtook 'remove network' comamnd. Solution
made by not ot release sem_wait until after completion.

Change-Id: Iccf1e4b8c6be350fd72c86f4c3e88a233171252e
Signed-off-by: Trine Borgbjerg Jensen <trine.jensen@samsung.com>
Signed-off-by: EunBong Song <eunb.song@samsung.com>
apps/netutils/wifi/slsi_wifi_api.c