Fix the WiFi linkdown hang up when changing the WiFi manager mode
authorchaehee.hong <chaehee.hong@samsung.com>
Wed, 11 Oct 2017 07:41:06 +0000 (16:41 +0900)
committerchaehee.hong <chaehee.hong@samsung.com>
Thu, 12 Oct 2017 08:22:39 +0000 (17:22 +0900)
commita98318acbcb382ff832840b0995817870c8d22b5
tree0106095f23cded5acc590ea9a57771f4b0a0f93a
parente25ce310540b069c3deb8a36dba31affb7ff7c57
Fix the WiFi linkdown hang up when changing the WiFi manager mode
- Hung up during linkdown because the linkdown handler did not consider WIFI_MODE_CHANGING state.
- Add wifi manager modes for linkup&down handlers to know previous and next modes.
- Edit functions of wifi init, deinit and set mode which trigger linkup&down handlers.
- Re-fix for the previous quick fix(commit 111d0b10430601ea4653b2be3530b94dc9848ffd)
framework/include/wifi_manager/wifi_manager.h
framework/src/wifi_manager/wifi_manager.c