use the correct error handling method (C_PTP instead of CR) restore timeout before returning
use the correct error handling method (C_PTP instead of CR)
restore timeout before returning

fixes https://github.com/gphoto/libgphoto2/issues/835

gphoto/libgphoto2,gphoto/libgphoto2,gphoto/libgphoto2,gphoto/libgphoto2,gphoto/libgphoto2,gphoto/libgphoto2