commit | f2bbb07729f04bd8efa3f3285f19ba0609e42017 | [log] [tgz] |
---|---|---|
author | Amitkumar Karwar <akarwar@marvell.com> | Tue Jun 18 16:36:56 2013 -0700 |
committer | John W. Linville <linville@tuxdriver.com> | Wed Jun 19 15:28:20 2013 -0400 |
tree | 51eebeca0bb763487d527d25cdd841955e913c26 | |
parent | 10d0b9030a3f86e1e26c710c7580524d7787d688 [diff] |
mwifiex: code rearrangement for better readability Use negative check (if(!bss_desc)) and return failure instead of failing a NULL check later in mwifiex_check_network_compatibility() routine. 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>