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)
commit299c2ceafa1c8382e0e7e7a8706ea0b56dcc3261
tree5160c49a6cc5f027faff2d760938d86b23d09f19
parent9e9261a7182c82947f1bbd7f63aa6a93a783e02e
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