Add update of mac address to supplicant

This commit adds the update of the mac address to supplicant
when the feature UPDATE_SUPPLICANT_MAC_ADDR is enabled

Bug: 162713738
Test: Verify device can connect to a secure network with
      mac randomizatoin enabled
Change-Id: I309a77e0912981d52a7fd8676c8396d6c0a29235
diff --git a/wpa_supplicant/Android.mk b/wpa_supplicant/Android.mk
index 5cc9c65..b440497 100644
--- a/wpa_supplicant/Android.mk
+++ b/wpa_supplicant/Android.mk
@@ -16,6 +16,10 @@
   CONFIG_DRIVER_NL80211_QCA=y
 endif
 
+ifeq ($(WIFI_UPDATE_SUPPLICANT_MAC_ADDR), enabled)
+  FEATURE_UPDATE_STA_MAC_ADDR=y
+endif
+
 include $(LOCAL_PATH)/android.config
 
 # To ignore possible wrong network configurations