]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: use different MAC addresses for virtual interfaces
authorJohannes Berg <johannes@sipsolutions.net>
Thu, 25 Feb 2010 14:13:11 +0000 (15:13 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 9 Mar 2010 20:03:07 +0000 (15:03 -0500)
commita4e39d03a8c6549e2517577d88a27d7b1f31e9d2
tree0b098868b2d6f9db43c8342b2d2a1df99f3ccd3f
parentc281109d6234785b5e2b6583722335624f82ce89
mac80211: use different MAC addresses for virtual interfaces

Drivers can now advertise to cfg80211 that they have
multiple MAC addresses reserved for a device, but we
don't currently make use of that in mac80211.

Change that and assign different addresses to new
virtual interfaces (if addresses are available) in
order to make it easier for users to use multiple
virtual interfaces; they no longer need to always
assign a new MAC address manually.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/iface.c