]> git.ipfire.org Git - thirdparty/hostap.git/commit
nl80211: fix interface address assignment
authorJohannes Berg <johannes.berg@intel.com>
Fri, 15 Jul 2011 09:05:19 +0000 (12:05 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 15 Jul 2011 09:05:19 +0000 (12:05 +0300)
commitf67eeb5c320274d5839733d5ffd7f553d99e335d
tree9ae2f60ee76fc14967492fb4be1e2f86e4130e03
parentb14a210ce24e6434b8cc2bd3b5c92b0b0ee50749
nl80211: fix interface address assignment

When a new interface is created and already has a separate MAC address
assigned by the kernel, then we need to use that address, not just when
we've created a locally administered address.

This fixes use_p2p_group_interface=1 for iwlagn as it already makes
mac80211 assign an address for a second interface since the hardware has
two addresses assigned.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
src/drivers/driver_nl80211.c