net: thunderbolt: Tear down connection properly on suspend
authorMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 12 Feb 2018 14:10:19 +0000 (17:10 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Feb 2018 17:03:04 +0000 (12:03 -0500)
commit8e021a14d908475fea89ef85b5421865f7ad650d
treed739838544db5c46b0c4c4416354cdd3cf5182d7
parentb4580c952e89a332f077038ef19a7582950c082d
net: thunderbolt: Tear down connection properly on suspend

When suspending to mem or disk the Thunderbolt controller typically goes
down as well tearing down the connection automatically. However, when
suspend to idle is used this does not happen so we need to make sure the
connection is properly disconnected before it can be re-established
during resume.

Fixes: e69b6c02b4c3 ("net: Add support for networking over Thunderbolt cable")
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Cc: stable@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/thunderbolt.c