OSDN Git Service

Enable broadcom-specific patch with proper flag
[android-x86/external-wpa_supplicant_8.git] / hostapd / Android.mk
index 403375f..6f6aff6 100644 (file)
@@ -16,7 +16,7 @@ L_CFLAGS = -DWPA_IGNORE_CONFIG_ERRORS
 # Set Android log name
 L_CFLAGS += -DANDROID_LOG_NAME=\"hostapd\"
 
-ifdef CONFIG_DRIVER_NL80211
+ifeq ($(BOARD_WLAN_DEVICE), bcmdhd)
 L_CFLAGS += -DANDROID_BRCM_P2P_PATCH
 endif