aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant
diff options
context:
space:
mode:
authorEmerson Pinter <dev@pinter.com.br>2013-01-17 19:20:14 -0200
committerEmerson Pinter <dev@pinter.com.br>2013-01-17 19:23:03 -0200
commit581ae3aa1c037b6bc752eae5e35ca204bd7d2b11 (patch)
treed383d1cee491a619f46b9e1956de0626c03a8513 /wpa_supplicant
parent3b571a6ec9f6ded92addf452ffc3c4b49a9685f9 (diff)
downloadexternal_wpa_supplicant_8-581ae3aa1c037b6bc752eae5e35ca204bd7d2b11.zip
external_wpa_supplicant_8-581ae3aa1c037b6bc752eae5e35ca204bd7d2b11.tar.gz
external_wpa_supplicant_8-581ae3aa1c037b6bc752eae5e35ca204bd7d2b11.tar.bz2
nl80211: add ifndef on AP SME condition
The condition causes problems on driver initialization if the NL80211_ATTR_DEVICE_AP_SME is not available. Needs BOARD_NO_APSME_ATTR:=true. Change-Id: I88e91996d8e6a70f46a5a84d6540bf3d3b628ddd
Diffstat (limited to 'wpa_supplicant')
-rw-r--r--wpa_supplicant/Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/wpa_supplicant/Android.mk b/wpa_supplicant/Android.mk
index 6d94cb2..4215646 100644
--- a/wpa_supplicant/Android.mk
+++ b/wpa_supplicant/Android.mk
@@ -33,6 +33,10 @@ ifeq ($(BOARD_WLAN_DEVICE), bcmdhd)
L_CFLAGS += -DANDROID_P2P
endif
+ifeq ($(BOARD_NO_APSME_ATTR),true)
+L_CFLAGS += -DNO_APSME_ATTR
+endif
+
ifeq ($(BOARD_WLAN_DEVICE), qcwcn)
L_CFLAGS += -DANDROID_QCOM_WCN
L_CFLAGS += -DANDROID_P2P