mac80211: tweak mac address allocation
authorFelix Fietkau <nbd@openwrt.org>
Sat, 13 Jul 2013 11:39:48 +0000 (11:39 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 13 Jul 2013 11:39:48 +0000 (11:39 +0000)
commitbb54c1eb9172841460c2b9e5160524cfb1d27d1a
tree502b15b3434a97222360c9b1369b6b51c423412a
parenta132c1bf14a5418dc98e76d230257a197d14334c
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>
SVN-Revision: 37269
package/kernel/mac80211/files/lib/wifi/mac80211.sh