Date: Fri, 6 Dec 2013 15:14:18 +0000 (UTC) From: Kevin Lo <kevlo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r259029 - head/sys/dev/usb/wlan Message-ID: <201312061514.rB6FEIKJ007018@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kevlo Date: Fri Dec 6 15:14:18 2013 New Revision: 259029 URL: http://svnweb.freebsd.org/changeset/base/259029 Log: Remove daft KASSERT. Modified: head/sys/dev/usb/wlan/if_run.c Modified: head/sys/dev/usb/wlan/if_run.c ============================================================================== --- head/sys/dev/usb/wlan/if_run.c Fri Dec 6 13:58:23 2013 (r259028) +++ head/sys/dev/usb/wlan/if_run.c Fri Dec 6 15:14:18 2013 (r259029) @@ -3712,9 +3712,6 @@ run_rt3070_set_chan(struct run_softc *sc uint8_t rf; int i; - /* RT3070 is 2GHz only */ - KASSERT(chan >= 1 && chan <= 14, ("wrong channel selected\n")); - /* find the settings for this channel (we know it exists) */ for (i = 0; rt2860_rf2850[i].chan != chan; i++);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312061514.rB6FEIKJ007018>