If the device for devicestate is not known, 'invalid' is not
the correct answer.
This commit is contained in:
parent
bdbc804322
commit
1bf477e35d
|
@ -4906,7 +4906,7 @@ static int pbx_capi_devicestate(void *data)
|
||||||
{
|
{
|
||||||
char *s;
|
char *s;
|
||||||
char *target;
|
char *target;
|
||||||
int res = AST_DEVICE_INVALID;
|
int res = AST_DEVICE_UNKNOWN;
|
||||||
struct capi_pvt *i;
|
struct capi_pvt *i;
|
||||||
|
|
||||||
if (!data) {
|
if (!data) {
|
||||||
|
|
Loading…
Reference in New Issue