]> git.karo-electronics.de Git - linux-beck.git/commit
mwifiex: make 11ac mcs rate tables global and const
authorBing Zhao <bzhao@marvell.com>
Sat, 8 Feb 2014 00:20:59 +0000 (16:20 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 12 Feb 2014 20:36:10 +0000 (15:36 -0500)
commit89467d8ca21b4c62ab1acbadd09e725d2cd410be
treeb087cbae7748f7b5a81f74a82527a48fe906952c
parent7abf4129e6dfe231e81a07af5bde0488bba6f95b
mwifiex: make 11ac mcs rate tables global and const

Remove these local array variables and define them as static
const array in global space.
The duplicated mcs_rate table is removed automatically with this
change.

Reported-by: Paul Stewart <pstew@chromium.org>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/11ac.c
drivers/net/wireless/mwifiex/cfp.c