I set my mac address for the wifi chip via:
/sbin/ifconfig wlan0 down
/sbin/ifconfig wlan0 hw ether ${WIFI_MAC_ADDR}
/sbin/ifconfig wlan0 up
Say the default mac address is 98:00:00:00:00:00. I if change the mac address to any new address that still starts with 98
, then I have no problem.
However, if I change the 98
to any other number, then I get the following error:
wlan0: set cur_etheraddr failed
dhd_sysioc_thread _dhd_set_mac_address() failed
Why?