Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Jun 2007 20:11:48 GMT
From:      Andrew Thompson <thompsa@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 120722 for review
Message-ID:  <200706012011.l51KBmVr048908@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=120722

Change 120722 by thompsa@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706012011.l51KBmVr048908>