Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a883a72a authored by Prerepa Viswanadham's avatar Prerepa Viswanadham Committed by Android Git Automerger
Browse files

am 7a1b9699: am dc177365: Incorrect data type bt_local_le_features_t of wrong size

* commit '7a1b9699':
  Incorrect data type bt_local_le_features_t of wrong size
parents 8d1c966e 7a1b9699
Loading
Loading
Loading
Loading
+9 −5
Original line number Diff line number Diff line
@@ -554,16 +554,20 @@ class AdapterProperties {
        mRpaOffloadSupported = ((0xFF & ((int)val[2]))!= 0);
        mNumOfOffloadedIrkSupported =  (0xFF & ((int)val[3]));
        mNumOfOffloadedScanFilterSupported = (0xFF & ((int)val[4]));
        mOffloadedScanResultStorageBytes = (0xFF & ((int)val[5]));
        mIsActivityAndEnergyReporting = ((0xFF & ((int)val[6])) != 0);
        mOffloadedScanResultStorageBytes = ((0xFF & ((int)val[6])) << 8)
                            + (0xFF & ((int)val[5]));
        mIsActivityAndEnergyReporting = ((0xFF & ((int)val[7])) != 0);

        Log.d(TAG, "BT_PROPERTY_LOCAL_LE_FEATURES: update from BT controller"
                + " mNumOfAdvertisementInstancesSupported = " + mNumOfAdvertisementInstancesSupported
                + " mNumOfAdvertisementInstancesSupported = "
                + mNumOfAdvertisementInstancesSupported
                + " mRpaOffloadSupported = " + mRpaOffloadSupported
                + " mNumOfOffloadedIrkSupported = " + mNumOfOffloadedIrkSupported
                + " mNumOfOffloadedIrkSupported = "
                + mNumOfOffloadedIrkSupported
                + " mNumOfOffloadedScanFilterSupported = "
                + mNumOfOffloadedScanFilterSupported
                + " mOffloadedScanResultStorageBytes = " + mOffloadedScanResultStorageBytes
                + " mOffloadedScanResultStorageBytes= "
                + mOffloadedScanResultStorageBytes
                + " mIsActivityAndEnergyReporting = "
                + mIsActivityAndEnergyReporting);
    }