plugin: Treat -ENOTSUP as -ENOSYS
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 15 May 2023 21:02:33 +0000 (14:02 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 5 Jan 2024 10:41:35 +0000 (16:11 +0530)
commita404930faac9d161c87d71069640e370d264dc99
tree301180eb09d810175320976d53bd0e165388f874
parenta66feadf580b4a618fb21c228c4173ca4cf86f45
plugin: Treat -ENOTSUP as -ENOSYS

If plugin .init returns -ENOTSUP treat it as the system doesn't
support the driver since that is the error returned by
btd_profile_register when experimental is disabled.
src/plugin.c