Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Actually use cdrom timeout value
Signed-off-by: Philippe De Swert <phdeswer@lumi.maa>
  • Loading branch information
Philippe De Swert committed Jul 12, 2011
1 parent ead7c4a commit b33b3aa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/usb_moded-modesetting.c
Expand Up @@ -250,7 +250,9 @@ int set_ovi_suite_mode(void)
#ifdef NOKIA
/* timeout for exporting CDROM image */
timeout = find_cdrom_timeout();
g_timeout_add_seconds(1, export_cdrom, NULL);
if(timeout == 0)
timeout = 1;
g_timeout_add_seconds(timeout, export_cdrom, NULL);
#endif /* NOKIA */

return(0);
Expand Down

0 comments on commit b33b3aa

Please sign in to comment.