From: Amitkumar Karwar Date: Fri, 16 Dec 2011 05:00:37 +0000 (-0800) Subject: mwifiex: cleanup work in scan.c X-Git-Tag: v3.3-rc1~182^2~44^2~67 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=186630c2809bc87fba6e49896fa2279c43f512d2;p=pandora-kernel.git 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 Signed-off-by: Bing Zhao Signed-off-by: John W. Linville --- Reading git-diff-tree failed