Date: Mon, 29 Jun 2009 19:20:21 +0000 (UTC) From: Rui Paulo <rpaulo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r195174 - projects/mesh11s/sys/dev/wpi Message-ID: <200906291920.n5TJKLFt056995@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rpaulo Date: Mon Jun 29 19:20:21 2009 New Revision: 195174 URL: http://svn.freebsd.org/changeset/base/195174 Log: Add default case label instead of adding MBSS. Pointed out by: sam Sponsored by: The FreeBSD Foundation Modified: projects/mesh11s/sys/dev/wpi/if_wpi.c Modified: projects/mesh11s/sys/dev/wpi/if_wpi.c ============================================================================== --- projects/mesh11s/sys/dev/wpi/if_wpi.c Mon Jun 29 19:02:51 2009 (r195173) +++ projects/mesh11s/sys/dev/wpi/if_wpi.c Mon Jun 29 19:20:21 2009 (r195174) @@ -2818,8 +2818,8 @@ wpi_config(struct wpi_softc *sc) sc->config.filter |= htole32(WPI_FILTER_MULTICAST | WPI_FILTER_CTL | WPI_FILTER_PROMISC); break; - case IEEE80211_M_MBSS: - device_printf(dev, "MBSS not implemented"); + default: + device_printf(sc->sc_dev, "unknown opmode %d\n", opmode); return EINVAL; } sc->config.cck_mask = 0x0f; /* not yet negotiated */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906291920.n5TJKLFt056995>