diff options
author | Björn Bidar | 2018-01-25 06:04:57 +0100 |
---|---|---|
committer | Björn Bidar | 2018-01-25 06:05:39 +0100 |
commit | 2b44aab3846d1441a29921afbd876be9eade4dd3 (patch) | |
tree | 885176fba2997d8dcb75d283f685611b7046305c /wifi-fix-interface.patch | |
parent | d1b2928808060e02455e1fe5870f4f2acb9b2088 (diff) | |
download | aur-2b44aab3846d1441a29921afbd876be9eade4dd3.tar.gz |
upkg, changed to mach build added patch to revert moving channel-prefs.js
Diffstat (limited to 'wifi-fix-interface.patch')
-rw-r--r-- | wifi-fix-interface.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/wifi-fix-interface.patch b/wifi-fix-interface.patch deleted file mode 100644 index 1980db1837e7..000000000000 --- a/wifi-fix-interface.patch +++ /dev/null @@ -1,26 +0,0 @@ -# HG changeset patch -# Parent 7a6d836b62779aa61988981c6ca646495574a505 -Bug 1314968 - Explicitly specify the AccessPoint interface name. r?kanru - -The DBus specification allows passing an empty string as the interface to the -org.freedesktop.DBus.Properties.GetAll call to get all properties, throwing away the namespace -(interface) information. - -However, GDBus does not allow this. When NetworkManager moved to using GDBus, Firefox lost the -ability to retrieve access points from NetworkManager. - -Since we're only interested in properties from the org.freedesktop.NetworkManager.AccessPoint -interface, name it explicitly. This works with both the old and the new NetworkManager. - -diff --git a/netwerk/wifi/nsWifiScannerDBus.cpp b/netwerk/wifi/nsWifiScannerDBus.cpp ---- a/netwerk/wifi/nsWifiScannerDBus.cpp -+++ b/netwerk/wifi/nsWifiScannerDBus.cpp -@@ -151,7 +151,7 @@ nsWifiScannerDBus::SendGetAll(const char - DBusMessageIter argsIter; - dbus_message_iter_init_append(msg, &argsIter); - -- const char* param = ""; -+ const char* param = "org.freedesktop.NetworkManager.AccessPoint"; - if (!dbus_message_iter_append_basic(&argsIter, DBUS_TYPE_STRING, ¶m)) { - return NS_ERROR_FAILURE; - } |