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)
commitc4355f22b1e39b7049c6357e7bbd06a697d37f18
tree0f1401389d3e31bd7d0f150e4afd6a4fff9084a3
parentc65d276d6e60c28d00a74b005c19036040ed529b
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