I got on the right track when I read norti's remark in a thread I happened to stumble upon.
This looks good for the Xperia T too, but what mac address do you have now? I have 30:39:26:9f:ed:2e (and others who use cooked roms have the same) but the original mac address of the phone is in /data/etc/wlan_macaddr0 (assuming you flashed the userdata.sin from the ftf file before). How can we revert it back to the original?
I made a small CWM-flashable zip for this.
ROM chefs could put these lines in their updater-script. While we're symlinking, there's no need to copy /system/lib/modules/prima/prima_wlan.ko to /system/lib/modules/wlan.ko if you use these lines.
symlink("/system/lib/modules/prima/prima_wlan.ko", "/system/lib/modules/wlan.ko"); symlink("/data/etc/wlan_macaddr0", "/system/etc/firmware/wlan/macaddr0"); symlink("/data/etc/wlan_macaddr1", "/system/etc/firmware/wlan/macaddr1"); symlink("/data/etc/wlan_macaddr2", "/system/etc/firmware/wlan/macaddr2"); symlink("/data/etc/wlan_macaddr3", "/system/etc/firmware/wlan/macaddr3");