[Model] All
[BinType] AP
[Customer] All
[Issue#] P170216-05153
[Request] PLM
[Occurrence Version] All
[Problem] User couldn't unpair the device
[Cause & Measure] Cause: AVRCP connection is triggered during unpair and
the device is marked as not temporary
Measure: Do not initiate AVRCP connection if device is
marked temporary
[Checking Method] Unit testing
[Team] Connectivity
[Developer] sreeraj.mk
[Solution company] Samsung
[Change Type] N/A
Change-Id: I27f344c5fd0bef434ea614836d7fd0be3b1971df
DBG("Don't initiate avrcp connection with this headset");
return -ENOTSUP;
}
+
+ /* Device unpairing failed if AVRCP connection is triggered
+ during unpairing*/
+ if (device_is_temporary(dev))
+ return -EPERM;
#endif
return control_connect(service);
}