X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=net80211%2Fieee80211_scan.c;fp=net80211%2Fieee80211_scan.c;h=3e0a01c40863892cc2aff28e3f509d371c0a4ed1;hb=78cbb4046953389cd45192723296698796aedcf2;hp=c5bd5613a1aaa659caf7023eb6e26f03e75bd737;hpb=03dbd3568d3331c5ee0e0aae54c52637f02314f2;p=madwifi%2F.git diff --git a/net80211/ieee80211_scan.c b/net80211/ieee80211_scan.c index c5bd561..3e0a01c 100644 --- a/net80211/ieee80211_scan.c +++ b/net80211/ieee80211_scan.c @@ -435,9 +435,8 @@ ieee80211_start_scan(struct ieee80211vap *vap, int flags, u_int duration, * the requested scan has not, then we update the running scan * flag. This is needed when wpa_supplicant is used with * ap_scan=1. Without it, the driver will never associate. */ - - if (((flags & IEEE80211_SCAN_NOPICK) == 0) - && (ss->ss_flags & IEEE80211_SCAN_NOPICK)) { + if (((flags & IEEE80211_SCAN_NOPICK) == 0) && + (ss->ss_flags & IEEE80211_SCAN_NOPICK)) { IEEE80211_DPRINTF(vap, IEEE80211_MSG_SCAN, "%s: clearing SCAN_NOPICK flag\n", __func__);