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)
commitc97fd7bf1113a6f79526d4a87a8d2b6a6654dbb1
tree502b15b3434a97222360c9b1369b6b51c423412a
parent21201be1f4a0b915ef8c32ae34afefff58d4f42c
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37269 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/kernel/mac80211/files/lib/wifi/mac80211.sh