It is indeed a bug in debian/patches/42a_ath_pci_supplicant_tweaks.patch. I attach a debdiff that solves the problem for me.
** Attachment added: "debdiff" http://launchpadlibrarian.net/12806466/debdiff -- NM can't use wireless networks https://bugs.launchpad.net/bugs/204868 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs