mac80211: tweak mac address allocation
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 13 Jul 2013 11:40:48 +0000 (11:40 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 13 Jul 2013 11:40:48 +0000 (11:40 +0000)
commitfc69de36693e38ac7caa73a023cef5e5ee1d4ef3
tree71e2d624573bd576409cc97836b50c61c50ce8c2
parent6f4502acc19bf62ecaade428993f3f95bc68f5bb
mac80211: tweak mac address allocation

Apparently there are some broken devices out there that have the local
bit already set in the factory MAC address. Move the | 0x2 over to the
other side of the xor operation to fix this without affecting devices
with proper addresses.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r37269

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@37270 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/mac80211/files/lib/wifi/mac80211.sh