diff options
author | Gatis Paeglis <gatis.paeglis@theqtcompany.com> | 2015-06-28 12:49:14 +0200 |
---|---|---|
committer | Gatis Paeglis <gatis.paeglis@theqtcompany.com> | 2015-06-29 11:10:08 +0300 |
commit | 4ef20296ae47d134fd76f5682dc0a9a4a4994f0b (patch) | |
tree | cf5251e0a8143720381e18e72ec0642ee64d5bdf /src/wifi/qwifidevice.h | |
parent | 3e6d9c660931ffd06174784c71af30d7fbe40802 (diff) |
Use a custom supplicant configuration file
A default configuration file contains:
network={
key_mgmt=NONE
}
which means that supplicant will try to connect to
*any* network where key_mgmt is set to NONE. We don't
want that.
Change-Id: Ibde643dfa2371cffdec2bfc53f96957fda7ac452
Reviewed-by: Kalle Viironen <kalle.viironen@theqtcompany.com>
Diffstat (limited to 'src/wifi/qwifidevice.h')
-rw-r--r-- | src/wifi/qwifidevice.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/wifi/qwifidevice.h b/src/wifi/qwifidevice.h index 80b4891..02724b4 100644 --- a/src/wifi/qwifidevice.h +++ b/src/wifi/qwifidevice.h @@ -23,6 +23,8 @@ #include <QtCore/QByteArray> #include <QtCore/QLoggingCategory> +class QWifiDevicePrivate; + QT_BEGIN_NAMESPACE Q_DECLARE_LOGGING_CATEGORY(B2QT_WIFI) @@ -37,6 +39,11 @@ public: Q_INVOKABLE static bool wifiSupported(); static QByteArray wifiInterfaceName(); static void setWifiInterfaceName(const QByteArray &name); + +private: + Q_DISABLE_COPY(QWifiDevice) + Q_DECLARE_PRIVATE(QWifiDevice) + QWifiDevicePrivate *const d_ptr; }; QT_END_NAMESPACE |