Fixed issue with getting MAC address.
Wlan MAC address is now derived from the hostname, which is stored in
the file /etc/hostname.