PERFORCE change 120722 for review

Andrew Thompson thompsa at FreeBSD.org
Fri Jun 1 20:11:49 UTC 2007


http://perforce.freebsd.org/chv.cgi?CH=120722

Change 120722 by thompsa at thompsa_heff on 2007/06/01 20:11:15

	- fix scan type argument for iwi_scanchan
	- add return on non-void function

Affected files ...

.. //depot/projects/wifi/sys/dev/iwi/if_iwi.c#36 edit

Differences ...

==== //depot/projects/wifi/sys/dev/iwi/if_iwi.c#36 (text+ko) ====

@@ -3483,7 +3483,7 @@
 			    __func__));
 			goto done;
 		}
-		if (iwi_scanchan(sc, sc->sc_maxdwell, sc->sc_scanop))
+		if (iwi_scanchan(sc, sc->sc_maxdwell, cmd))
 			ieee80211_cancel_scan(ic);
 
 		break;
@@ -3509,6 +3509,7 @@
 	sc->sc_scan_next = (sc->sc_scan_next + 1) % IWI_SCAN_OPS;
 	taskqueue_enqueue(sc->sc_tq, &sc->sc_opstask);
 	IWI_SCAN_UNLOCK(sc);
+	return (0);
 }
 
 static void


More information about the p4-projects mailing list