Commit 1a440e5d authored by Slava Monich's avatar Slava Monich

Merge branch 'jb38937' into 'master'

Set delayedTethering to false when clearing tetheringWifiTech pointer

See merge request !4
parents 3ba10b0c 944086b5
/**************************************************************************** /****************************************************************************
** **
** Copyright (C) 2014 Jolla Ltd ** Copyright (C) 2014-2017 Jolla Ltd
** Contact: lorn.potter@gmail.com ** Contact: lorn.potter@gmail.com
** **
**
** GNU Lesser General Public License Usage ** GNU Lesser General Public License Usage
** This file may be used under the terms of the GNU Lesser ** This file may be used under the terms of the GNU Lesser
** General Public License version 2.1 as published by the Free Software ** General Public License version 2.1 as published by the Free Software
...@@ -484,6 +483,7 @@ void QConnectionAgent::techChanged() ...@@ -484,6 +483,7 @@ void QConnectionAgent::techChanged()
knownTechnologies.clear(); knownTechnologies.clear();
} }
if (!netman->getTechnology("wifi")) { if (!netman->getTechnology("wifi")) {
delayedTethering = false;
tetheringWifiTech = 0; tetheringWifiTech = 0;
return; return;
} }
......
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