In Tizen, bluetooth enable/disable operation is handled
by bluetooth framework, if the device is rfkilled, bt frwk
may failed to work
Change-Id: Ifcd06f322c7064125ea0840f3d01a653e7f32194
fi
])
+AC_ARG_ENABLE(rfkill, AC_HELP_STRING([--disable-rfkill],
+ [disable device rfkill operation]), [
+ if (test "${enableval}" = "no"); then
+ CFLAGS="$CFLAGS -DDISABLE_RFKILL"
+ fi
+])
+
AC_ARG_ENABLE(datafiles, AC_HELP_STRING([--disable-datafiles],
[don't install configuration and data files]),
[enable_datafiles=${enableval}])
DBG("type %d block %d", type, block);
+#if defined DISABLE_RFKILL
+ DBG("rfkill is disabled by default");
+#else
rfkill_type = convert_service_type(type);
if (rfkill_type == NUM_RFKILL_TYPES)
return -EINVAL;
err = 0;
close(fd);
+#endif
return err;
}