[PATCH] mac80211_hwsim: Register and bind to driver
Andy Whitcroft
apw at canonical.com
Tue Apr 9 12:36:06 UTC 2013
On Mon, Apr 08, 2013 at 05:59:26PM +0200, Martin Pitt wrote:
> Hello kernel team,
>
> today I fixed mac80211_hwsim to get a proper "driver" attribute, so
> that it works with NetworkManager. This will allow us to write
> integration tests not only for wpa_supplicant and dhclient, but for
> the whole NM stack. [1]
>
> I sent the patch upstream this morning, and Johannes Berg applied it
> to his tree:
>
> https://git.kernel.org/cgit/linux/kernel/git/jberg/mac80211-next.git/commit/?id=6d665c5384bbc64c95d87ebde8ce39052a48fa81
>
> If it is appropriate, it would be nice to include it into the raring
> kernel. However, it's not necessary to break freeze rules or go
> through extraordinary efforts, as we can also apply a workaround to NM
> for the time being.
>
> I filed a bug to track this: https://launchpad.net/bugs/1166250
>
> Thanks for considering,
>
> Martin
>
> [1] https://blueprints.launchpad.net/ubuntu/+spec/client-1303-converged-network-stack
> --
> Martin Pitt | http://www.piware.de
> Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
> From 6d665c5384bbc64c95d87ebde8ce39052a48fa81 Mon Sep 17 00:00:00 2001
> From: Martin Pitt <martin.pitt at ubuntu.com>
> Date: Mon, 08 Apr 2013 09:30:01 +0000
> Subject: mac80211_hwsim: Register and bind to driver
>
> Properly register our mac80211_hwsim_driver, attach it to the platform bus.
> Bind newly created hwsim devices to that driver, so that our wlan devices get
> a proper "driver" sysfs attribute.
>
> This makes mac80211_hwsim interfaces work with NetworkManager.
>
> Signed-off-by: Martin Pitt <martin.pitt at ubuntu.com>
> [fix an old and a new message to not be line-broken]
> Signed-off-by: Johannes Berg <johannes.berg at intel.com>
We do need to shove the BugLink: in here when this is applied.
-apw
More information about the kernel-team
mailing list