mwifiex: code rearrangement for better readability
authorAmitkumar Karwar <akarwar@marvell.com>
Sat, 8 Mar 2014 03:41:29 +0000 (19:41 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 14 Mar 2014 18:49:14 +0000 (14:49 -0400)
commit63410c37d2d25a63968029a9cd6b324ac6b3a2c9
tree6aeda89bc20497ade487e1f07d61fa8ce1713af2
parentc44379e2f9a21154e0d15e33f69bf970a596233a
mwifiex: code rearrangement for better readability

Use negative check for 'status' and return from the function.
This improves readability by avoiding line splits. Also, local
variable is used for start window calculations.

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/11n.c
drivers/net/wireless/mwifiex/11n_rxreorder.c