diff options
Diffstat (limited to 'audio/headset.c')
| -rw-r--r-- | audio/headset.c | 8 | 
1 files changed, 0 insertions, 8 deletions
diff --git a/audio/headset.c b/audio/headset.c index 1e57c177..e97a99cf 100644 --- a/audio/headset.c +++ b/audio/headset.c @@ -1279,9 +1279,6 @@ void headset_update(void *device, sdp_record_t *record, uint16_t svc)  {  	struct headset *headset = ((struct device *) device)->headset; -	if (!gateway_is_enabled(svc)) -		return; -  	switch (svc) {  	case HANDSFREE_SVCLASS_ID:  		if (headset->hfp_handle && @@ -1330,11 +1327,6 @@ struct headset *headset_init(void *device, sdp_record_t *record,  	if (!record)  		goto register_iface; -	if (!gateway_is_enabled(svc)) { -		g_free(hs); -		return NULL; -	} -  	switch (svc) {  	case HANDSFREE_SVCLASS_ID:  		hs->hfp_handle = record->handle;  | 
