Commit 1c8161a8249fa32408e3c073f992141c9d257332

Authored by Hendrik Brueckner
Committed by David S. Miller
1 parent f6e80abeab

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: Ursula Braun <ursula.braun@de.ibm.com>
Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/s390/net/smsgiucv.c
... ... @@ -157,7 +157,7 @@
157 157 #ifdef CONFIG_PM_DEBUG
158 158 printk(KERN_WARNING "smsg_pm_restore_thaw\n");
159 159 #endif
160   - if (smsg_path && iucv_path_connected) {
  160 + if (smsg_path && !iucv_path_connected) {
161 161 memset(smsg_path, 0, sizeof(*smsg_path));
162 162 smsg_path->msglim = 255;
163 163 smsg_path->flags = 0;