summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ti/wlcore/main.c
diff options
context:
space:
mode:
authorMaxim Altshul <maxim.altshul@ti.com>2016-07-11 17:22:32 +0300
committerKalle Valo <kvalo@codeaurora.org>2016-07-18 22:35:34 +0300
commit88f07e70d1be6bac4e105a0b690a64ba84fe867e (patch)
tree1c0c39beff7e32beaf8c79f214e450074e2cf13c /drivers/net/wireless/ti/wlcore/main.c
parentc940de10d45efc5664ee993a6da281f45c804e59 (diff)
wlcore/wl18xx: Add functionality to accept TX rate per link
FW will provide a TX rate per link for each FW status, and wlcore will be able to store the information for the use of the mesh hwmp module. This is used mainly in mesh. Rates are reported when a mesh interface is up. Signed-off-by: Maxim Altshul <maxim.altshul@ti.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ti/wlcore/main.c')
-rw-r--r--drivers/net/wireless/ti/wlcore/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ti/wlcore/main.c b/drivers/net/wireless/ti/wlcore/main.c
index 4652636e9ecf..45aab1041d7f 100644
--- a/drivers/net/wireless/ti/wlcore/main.c
+++ b/drivers/net/wireless/ti/wlcore/main.c
@@ -4986,6 +4986,7 @@ static int wl12xx_sta_add(struct wl1271 *wl,
return ret;
wl_sta = (struct wl1271_station *)sta->drv_priv;
+ wl_sta->wl = wl;
hlid = wl_sta->hlid;
ret = wl12xx_cmd_add_peer(wl, wlvif, sta, hlid);