[PATCH 1/4] Set proper sta.type in config_sta
Eugene Krasnikov
k.eugene.e at gmail.com
Mon Jun 3 11:06:21 EDT 2013
For AP mode set sta.type to 1
Signed-off-by: Eugene Krasnikov <k.eugene.e at gmail.com>
---
smd.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/smd.c b/smd.c
index d46f5b2..4cea722 100644
--- a/smd.c
+++ b/smd.c
@@ -493,7 +493,8 @@ int wcn36xx_smd_config_sta(struct wcn36xx *wcn, const u8 *bssid,
sta->aid = wcn->aid;
if (wcn->iftype == NL80211_IFTYPE_ADHOC ||
- wcn->iftype == NL80211_IFTYPE_MESH_POINT)
+ wcn->iftype == NL80211_IFTYPE_MESH_POINT ||
+ wcn->iftype == NL80211_IFTYPE_AP)
sta->type = 1;
else
sta->type = 0;
--
1.7.11.3
More information about the wcn36xx
mailing list