commit | 186630c2809bc87fba6e49896fa2279c43f512d2 | [log] [tgz] |
---|---|---|
author | Amitkumar Karwar <akarwar@marvell.com> | Thu Dec 15 21:00:37 2011 -0800 |
committer | John W. Linville <linville@tuxdriver.com> | Mon Dec 19 14:37:14 2011 -0500 |
tree | 400c4910c3177c54bfd2e3b1303fa5f19f21ccaa | |
parent | d2182b69dcb6a68b1ef6070b2efd094e13dea3f1 [diff] |
mwifiex: cleanup work in scan.c Scan type derived from IEEE80211_CHAN_PASSIVE_SCAN bit is a boolean flag representing passive scanning. We should not again compare it with driver specific macro MWIFIEX_SCAN_TYPE_PASSIVE to determine passive or active scan. We can also avoid the use of local variable by using the flag directly. 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>