mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
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 <[email protected]> Signed-off-by: Frank Blaschka <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
f6e80abeab
commit
1c8161a824
1 changed files with 1 additions and 1 deletions
|
|
@ -157,7 +157,7 @@ static int smsg_pm_restore_thaw(struct device *dev)
|
|||
#ifdef CONFIG_PM_DEBUG
|
||||
printk(KERN_WARNING "smsg_pm_restore_thaw\n");
|
||||
#endif
|
||||
if (smsg_path && iucv_path_connected) {
|
||||
if (smsg_path && !iucv_path_connected) {
|
||||
memset(smsg_path, 0, sizeof(*smsg_path));
|
||||
smsg_path->msglim = 255;
|
||||
smsg_path->flags = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue