Convert various _debug style char *func and int line passing to use dump_stack. This...
[madwifi/.git] / net80211 / ieee80211_scan.c
index c5bd5613a1aaa659caf7023eb6e26f03e75bd737..3e0a01c40863892cc2aff28e3f509d371c0a4ed1 100644 (file)
@@ -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__);