Commit eedf267e authored by Ben Collins's avatar Ben Collins

[ieee1394]: Delete host timer to avoid crashes in certain conditions.

Submitted-by: default avatarAlexandre Oliva <oliva@lsd.ic.unicamp.br>
Submitted-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarBen Collins <bcollins@debian.org>
parent 8c04bcdf
......@@ -187,6 +187,9 @@ int hpsb_add_host(struct hpsb_host *host)
void hpsb_remove_host(struct hpsb_host *host)
{
host->is_shutdown = 1;
del_timer_sync(&host->delayed_reset);
host->driver = &dummy_driver;
highlevel_remove_host(host);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment