[Bluetooth][Non-ACR] Fix GattConnectonStateChanged not occured issue (#3202)
authorWootak Jung <wootak.jung@samsung.com>
Thu, 17 Jun 2021 03:06:04 +0000 (12:06 +0900)
committerGitHub <noreply@github.com>
Thu, 17 Jun 2021 03:06:04 +0000 (12:06 +0900)
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
src/Tizen.Network.Bluetooth/Tizen.Network.Bluetooth/BluetoothGatt.cs

index 7af1526..b59d51b 100644 (file)
@@ -326,10 +326,7 @@ namespace Tizen.Network.Bluetooth
                     _taskForDisconnection = null;
                 }
 
-                if (e.Result == (int)BluetoothError.None)
-                {
-                    ConnectionStateChanged?.Invoke(this, e);
-                }
+                ConnectionStateChanged?.Invoke(this, e);
             }
         }