projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a68f5b9
)
Don't stop Asterisk if chan_usbradio isn't configured.
author
Russell Bryant
<russell@russellbryant.com>
Thu, 3 Jun 2010 17:31:41 +0000
(17:31 +0000)
committer
Russell Bryant
<russell@russellbryant.com>
Thu, 3 Jun 2010 17:31:41 +0000
(17:31 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@267537
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_usbradio.c
patch
|
blob
|
history
diff --git
a/channels/chan_usbradio.c
b/channels/chan_usbradio.c
index
d9581d3
..
81c1afe
100644
(file)
--- a/
channels/chan_usbradio.c
+++ b/
channels/chan_usbradio.c
@@
-3977,12
+3977,12
@@
static int load_module(void)
ast_log(LOG_NOTICE, "radio active device %s not found\n", usbradio_active);
/* XXX we could default to 'dsp' perhaps ? */
/* XXX should cleanup allocated memory etc. */
- return AST_MODULE_LOAD_FAILURE;
+ return AST_MODULE_LOAD_DECLINE;
}
if (ast_channel_register(&usbradio_tech)) {
ast_log(LOG_ERROR, "Unable to register channel type 'usb'\n");
- return AST_MODULE_LOAD_FAILURE;
+ return AST_MODULE_LOAD_DECLINE;
}
ast_cli_register_multiple(cli_usbradio, ARRAY_LEN(cli_usbradio));