Bearer/ConnMan: Fix getTechnologies() is not called
Change-Id: I4e39c971198583af815f5bcecaad4a9c52e5d2dd Reviewed-by: Lorn Potter <lorn.potter@canonical.com>
This commit is contained in:
parent
23e76a12b9
commit
25e9bde2d6
@ -246,6 +246,8 @@ QStringList QConnmanManagerInterface::getServices()
|
||||
bool QConnmanManagerInterface::requestScan(const QString &type)
|
||||
{
|
||||
bool scanned = false;
|
||||
if (technologiesMap.isEmpty())
|
||||
getTechnologies();
|
||||
Q_FOREACH (QConnmanTechnologyInterface *tech, technologiesMap) {
|
||||
if (tech->type() == type) {
|
||||
tech->scan();
|
||||
|
Loading…
Reference in New Issue
Block a user