mac80211: tweak mac address allocation
authorFelix Fietkau <nbd@openwrt.org>
Sat, 13 Jul 2013 11:40:48 +0000 (11:40 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 13 Jul 2013 11:40:48 +0000 (11:40 +0000)
commit5494ce4d771c515ddea7b3297a89d810dfcfcfc5
tree71e2d624573bd576409cc97836b50c61c50ce8c2
parent5d3fc253fe1434667f7d33121d490fcd1bb6eb87
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

SVN-Revision: 37270
package/mac80211/files/lib/wifi/mac80211.sh