mwifiex: fix coding style issue in mwifiex_deauthenticate
authorBing Zhao <bzhao@marvell.com>
Wed, 2 May 2012 02:53:51 +0000 (19:53 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 15 May 2012 21:27:27 +0000 (17:27 -0400)
commit99e126fdc04fb567567a6ec14317fae16a7a2de1
tree93988a77879450ef597834104aeba89470883b99
parent2a4ffa4c8934bd9a36c8354a4b87a529114baf62
mwifiex: fix coding style issue in mwifiex_deauthenticate

Documentation/CodingStyle says
"Do not unnecessarily use braces where a single statement will do."

Use "switch/case", instead of "if/else_if/else", so that more cases
can be added later.

Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/join.c