commit | d8d13d32c4a7c6653f22c7649cd3d2d86c2eeacd | [log] [tgz] |
---|---|---|
author | Amitkumar Karwar <akarwar@marvell.com> | Tue Oct 22 15:24:47 2013 -0700 |
committer | John W. Linville <linville@tuxdriver.com> | Thu Dec 05 14:32:31 2013 -0500 |
tree | 88f3989ecd6b1dc97e5548b017143bd5cfb5163f | |
parent | eac40d9631a7db43570df859fa8a9922e9623607 [diff] |
mwifiex: improvements in mwifiex_ret_tx_power_cfg() 1) Move common code out of switch case handling 2) Return from the function if number of bytes left in response buffer are less than tlv size 3) Pass pg_tlv_hdr directly instead of txp_cfg to mwifiex_get_power_level() 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>