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)
commitfa9029f8c34576e121a4b6ddbbd645081fe50c74
tree0b098868b2d6f9db43c8342b2d2a1df99f3ccd3f
parentdf13cce53a7b28a81460e6bfc4857e9df4956141
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