=== modified file 'Makefile'
--- Makefile	2010-02-23 15:46:55 +0000
+++ Makefile	2011-08-08 16:10:47 +0000
@@ -47,6 +47,7 @@ INSTALL ?= install
 
 NL1FOUND := $(shell pkg-config --atleast-version=1 libnl-1 && echo Y)
 NL2FOUND := $(shell pkg-config --atleast-version=2 libnl-2.0 && echo Y)
+NL3FOUND := $(shell pkg-config --atleast-version=3 libnl-3.0 && echo Y)
 
 ifeq ($(NL1FOUND),Y)
 NLLIBNAME = libnl-1
@@ -58,6 +59,12 @@ NLLIBS += -lnl-genl
 NLLIBNAME = libnl-2.0
 endif
 
+ifeq ($(NL3FOUND),Y)
+CFLAGS += -DCONFIG_LIBNL20
+NLLIBS += -lnl-genl
+NLLIBNAME = libnl-3.0
+endif
+
 ifeq ($(NLLIBNAME),)
 $(error Cannot find development files for any supported version of libnl)
 endif

=== modified file 'debian/changelog'
--- debian/changelog	2010-11-29 09:04:56 +0000
+++ debian/changelog	2011-08-08 16:11:45 +0000
@@ -1,3 +1,9 @@
+wireless-crda (1.14) UNRELEASED; urgency=low
+
+  * Port to libnl3.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Mon, 08 Aug 2011 17:11:42 +0100
+
 wireless-crda (1.13) natty; urgency=low
 
   * Updated wireless-regdb to master-2010-11-24

=== modified file 'debian/control'
--- debian/control	2009-03-10 16:49:38 +0000
+++ debian/control	2011-08-08 16:11:37 +0000
@@ -3,7 +3,7 @@ Section: admin
 Priority: optional
 Maintainer: Ubuntu Kernel Team <kernel-team@lists.ubuntu.com>
 Standards-Version: 3.6.2.1
-Build-Depends: debhelper (>= 5.0.0), pkg-config, libgcrypt11-dev, libnl-dev
+Build-Depends: debhelper (>= 5.0.0), pkg-config, libgcrypt11-dev, libnl3-dev
 Vcs-Git: http://kernel.ubuntu.com/git-repos/rtg/wireless-crda.git
 
 Package: wireless-crda
