Allow device to be removed when discriminant disabled
authorAbhay agarwal <ay.agarwal@samsung.com>
Fri, 15 Nov 2019 06:47:27 +0000 (12:17 +0530)
committersaerome.kim <saerome.kim@samsung.com>
Fri, 15 Nov 2019 10:19:24 +0000 (19:19 +0900)
Change-Id: I5f9eb2e2c9267b9d3779592571b5b0165d5dac0d
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
packaging/ua-plugin-wifi-dummy.spec
src/wifi-plugin.c

index 127f0b47ea3b369a9e344f665b707c0e2faa78ff..1fe9d19648710a99af4425738def45d79a352a94 100644 (file)
@@ -3,7 +3,7 @@
 
 Name:       ua-plugin-wifi-dummy
 Summary:    Wi-Fi User awareness plugin for VD
-Version:    0.10.2
+Version:    0.10.3
 Release:    1
 License:    Apache-2.0
 Source0:    %{name}-%{version}.tar.gz
index 7e15d777f2d5111d3510f5e04d611de8812969e9..7c1088826af075bb2ed423c2c565a5ddb653ba59 100644 (file)
@@ -437,7 +437,7 @@ static int remove_device(uas_device_info_t *device)
        }
 
        FUNC_EXIT;
-       return UAS_STATUS_FAIL;
+       return UAS_STATUS_ALREADY_DONE;;
 }
 
 static int start_detection(unsigned int detection_type)