#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
#include "sdp-xml.h"
+#include "../profile.h"
#ifdef TIZEN_FEATURE_BLUEZ_BATTERY_WATCH
#include <sys/ioctl.h>
#endif /* TIZEN_FEATURE_BLUEZ_BATTERY_WATCH */
/* Just-Works repairing policy */
if (confirm_hint && device_is_paired(device, type)) {
if (main_opts.jw_repairing == JW_REPAIRING_NEVER) {
+#if defined TIZEN_FEATURE_BLUEZ_MODIFY
+ /* GAP/SEC/AUT/BV-26-C
+ * Need to modify the just work logic for ceritification
+ */
+ if (TIZEN_FEATURE_BLUEZ_STACK_CERTIFICATION) {
+ btd_adapter_confirm_reply(device->adapter,
+ &device->bdaddr,
+ type, TRUE);
+ } else {
+ btd_adapter_confirm_reply(device->adapter,
+ &device->bdaddr,
+ type, FALSE);
+ }
+#else
btd_adapter_confirm_reply(device->adapter,
&device->bdaddr,
type, FALSE);
+#endif
return 0;
} else if (main_opts.jw_repairing == JW_REPAIRING_ALWAYS) {
btd_adapter_confirm_reply(device->adapter,