about summary refs log tree commit diff
path: root/debian/patches/13-validate_mac_addr.patch
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2008-01-25 14:36:51 +0000
committerMichael Biebl <biebl@debian.org>2008-01-25 14:36:51 +0000
commit87731d3dcc428000731dda361ac5da9a45cdef1c (patch)
tree3dacb14455f52e2f96b0bc4d79647377c6e756bc /debian/patches/13-validate_mac_addr.patch
parenta9ad53f2fd8a78cfcc18daf8f09dc2b5b490c2af (diff)
* SVN snapshot of the upcoming 0.7 release.
* Drop patches which are either obsolete, merged upstream or not yet ported
  - 01-supplicant_timeout.patch
  - 04-if_fix.patch
  - 11-man_page_sh_name.patch
  - 12_readme_format.patch
  - 13-validate_mac_addr.patch
  - 20-stable_branch_updates_r2652.patch
  - 21-endianess_fix_r2754.patch
  - 22-fix_vpn_ftbfs_dont_disable_gnome_deprecated.patch
  - 23-rfkill_return_type.patch
  - 24-get_mode_fix_r3122.patch
  - 25-libnl_unique_pid_r3155.patch
  - 26-libnl_1.0-pre8_r3206.patch
  - 27-dont_repeat_errors.patch
* debian/patches/05-debian_backend.patch
  - Updated for 0.7.
* debian/patches/02-dbus_access_network_manager.patch
  - Updated for 0.7.

git-svn-id: svn+ssh://svn.debian.org/svn/pkg-utopia/packages/experimental/networkmanager@2066 ceb527fc-18e6-0310-9fe2-813c157c29e7
Diffstat (limited to 'debian/patches/13-validate_mac_addr.patch')
-rw-r--r--debian/patches/13-validate_mac_addr.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/debian/patches/13-validate_mac_addr.patch b/debian/patches/13-validate_mac_addr.patch
deleted file mode 100644
index 47a81e19..00000000
--- a/debian/patches/13-validate_mac_addr.patch
+++ /dev/null
@@ -1,33 +0,0 @@
---- network-manager-0.6.5.orig/src/nm-device-802-11-wireless.c
-+++ network-manager-0.6.5/src/nm-device-802-11-wireless.c
-@@ -3439,6 +3439,20 @@
- }
- 
- static gboolean
-+has_valid_ether_addr (NMAccessPoint *ap)
-+{
-+	struct ether_addr *addr;
-+	int i;
-+
-+	addr = nm_ap_get_address (ap);
-+	for (i = 0 ; i < ETH_ALEN; i++)
-+		if (addr->ether_addr_octet[i] != 0)
-+			return TRUE;
-+
-+	return FALSE;
-+}
-+
-+static gboolean
- process_scan_results (NMDevice80211Wireless *dev,
-                       const guint8 *res_buf,
-                       guint32 res_buf_len)
-@@ -3474,7 +3488,8 @@
- 
- 				/* Merge previous AP */
- 				if (ap) {
--					add_new_ap_to_device_list (dev, ap);
-+					if (has_valid_ether_addr (ap))
-+						add_new_ap_to_device_list (dev, ap);
- 					nm_ap_unref (ap);
- 					ap = NULL;
- 				}