mirror of git://git.sysmocom.de/ofono
include: define initializer for ofono_call
Some fields in struct ofono_call such as cnap_validity and clip_validity are not correctly initialized as 0 since this means they are present. If driver does not implement the necessary handlers, it might send to core an ofono_call signalling that cnap and clip are available when they are actually not.
This commit is contained in:
parent
98e942d11b
commit
7ff5365583
|
@ -116,6 +116,7 @@ struct ofono_uuid {
|
|||
};
|
||||
|
||||
const char *ofono_uuid_to_str(const struct ofono_uuid *uuid);
|
||||
void ofono_call_init(struct ofono_call *call);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue