diff options
author | Avinash Patil <patila@marvell.com> | 2014-02-08 01:27:29 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-02-12 21:36:17 +0100 |
commit | 41a24a29142dd0352de965c40b840a90d6e55f6c (patch) | |
tree | 3d3831e27659e6ccedfde57f96896f274442a1e6 /drivers/net/wireless/mwifiex/init.c | |
parent | mwifiex: handle AMPDU supported check for AP interface (diff) | |
download | linux-41a24a29142dd0352de965c40b840a90d6e55f6c.tar.xz linux-41a24a29142dd0352de965c40b840a90d6e55f6c.zip |
mwifiex: make tos_to_tid_inv part of mwifiex_private structure
tos_to_tid_inv values are needed even during TDLS restore
operations. Currently tos_to_tid_inv is part of wmm.c and
is declared static.
Make it part of private structure so that it can be used in
other files as well.
Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwifiex/init.c')
-rw-r--r-- | drivers/net/wireless/mwifiex/init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwifiex/init.c b/drivers/net/wireless/mwifiex/init.c index 308c56fd32eb..dead65960d34 100644 --- a/drivers/net/wireless/mwifiex/init.c +++ b/drivers/net/wireless/mwifiex/init.c @@ -137,6 +137,7 @@ int mwifiex_init_priv(struct mwifiex_private *priv) priv->csa_expire_time = 0; priv->del_list_idx = 0; priv->hs2_enabled = false; + memcpy(priv->tos_to_tid_inv, tos_to_tid_inv, MAX_NUM_TID); return mwifiex_add_bss_prio_tbl(priv); } |