When send_request returns an error, session->discover should be released here, so that the next time the program enters avdtp_discover, the -EBUSY error will not be returned. Chengyi (1): avdtp: Free discover when send_request returns error profiles/audio/avdtp.c | 3 +++ 1 file changed, 3 insertions(+) -- 2.20.1