mwifiex: use correct firmware command to get power limits
authorAmitkumar Karwar <akarwar@marvell.com>
Thu, 28 Jun 2012 02:57:57 +0000 (19:57 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 28 Jun 2012 18:37:49 +0000 (14:37 -0400)
commitcaa8984f59b8be220767886ae27de855f77e6a61
treec7fe8bcf7a390f5982fe68a40f7e2d996446704c
parent1a1fb970472d66d1668ff66bc46c2cd977f9a4fc
mwifiex: use correct firmware command to get power limits

"priv->max_tx_power_level" and "priv->min_tx_power_level" variables
are initialized to maximum and minimum power levels supported by
hardware by sending correct firmware command.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/fw.h
drivers/net/wireless/mwifiex/sta_cmd.c
drivers/net/wireless/mwifiex/sta_cmdresp.c