Commit 1c8161a8 authored by Hendrik Brueckner's avatar Hendrik Brueckner Committed by David S. Miller

smsgiucv: reestablish IUCV path after resume

smsg_pm_restore_thaw() uses wrong checking before reconnecting
the IUCV path to *MSG. It is corrected with this patch.
Signed-off-by: default avatarUrsula Braun <ursula.braun@de.ibm.com>
Signed-off-by: default avatarFrank Blaschka <frank.blaschka@de.ibm.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f6e80abe
...@@ -157,7 +157,7 @@ static int smsg_pm_restore_thaw(struct device *dev) ...@@ -157,7 +157,7 @@ static int smsg_pm_restore_thaw(struct device *dev)
#ifdef CONFIG_PM_DEBUG #ifdef CONFIG_PM_DEBUG
printk(KERN_WARNING "smsg_pm_restore_thaw\n"); printk(KERN_WARNING "smsg_pm_restore_thaw\n");
#endif #endif
if (smsg_path && iucv_path_connected) { if (smsg_path && !iucv_path_connected) {
memset(smsg_path, 0, sizeof(*smsg_path)); memset(smsg_path, 0, sizeof(*smsg_path));
smsg_path->msglim = 255; smsg_path->msglim = 255;
smsg_path->flags = 0; smsg_path->flags = 0;
......
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