From: Amitkumar Karwar Date: Tue, 22 Oct 2013 22:24:47 +0000 (-0700) Subject: mwifiex: improvements in mwifiex_ret_tx_power_cfg() X-Git-Tag: v3.14-rc1~94^2~601^2^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8d13d32c4a7c6653f22c7649cd3d2d86c2eeacd;p=pandora-kernel.git 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 Signed-off-by: Bing Zhao Signed-off-by: John W. Linville --- Reading git-diff-tree failed