[PATCH 2/6] Use vif address instead of wcn for sta add
Olof Johansson
dev at skyshaper.net
Tue Jul 9 05:20:00 EDT 2013
This will use the vif address allocated at init.
---
main.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/main.c b/main.c
index 12534f0..7750b0e 100644
--- a/main.c
+++ b/main.c
@@ -680,8 +680,7 @@ static int wcn36xx_sta_add(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
vif->type == NL80211_IFTYPE_AP ||
vif->type == NL80211_IFTYPE_MESH_POINT) {
wcn->aid = sta->aid;
- wcn36xx_smd_config_sta(wcn, wcn->addresses[0].addr,
- sta->addr, vif->type);
+ wcn36xx_smd_config_sta(wcn, vif->addr, sta->addr, vif->type);
}
return 0;
}
--
1.8.3.1
More information about the wcn36xx
mailing list