Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Mar 2011 01:24:21 +0000 (UTC)
From:      Kevin Lo <kevlo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r220087 - stable/8/sys/dev/usb/wlan
Message-ID:  <201103280124.p2S1OLnm075544@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kevlo
Date: Mon Mar 28 01:24:20 2011
New Revision: 220087
URL: http://svn.freebsd.org/changeset/base/220087

Log:
  MFC r219982:
  Fix panic while associating access point.
  While here, add the SMC SMCWUSB-G

Modified:
  stable/8/sys/dev/usb/wlan/if_zyd.c

Modified: stable/8/sys/dev/usb/wlan/if_zyd.c
==============================================================================
--- stable/8/sys/dev/usb/wlan/if_zyd.c	Mon Mar 28 00:19:01 2011	(r220086)
+++ stable/8/sys/dev/usb/wlan/if_zyd.c	Mon Mar 28 01:24:20 2011	(r220087)
@@ -229,6 +229,7 @@ static const struct usb_device_id zyd_de
 	ZYD_ZD1211_DEV(ZYXEL, ZYAIRG220),
 	ZYD_ZD1211_DEV(ZYXEL, G200V2),
 	/* ZYD_ZD1211B */
+	ZYD_ZD1211B_DEV(ACCTON, SMCWUSBG_NF),
 	ZYD_ZD1211B_DEV(ACCTON, SMCWUSBG),
 	ZYD_ZD1211B_DEV(ACCTON, ZD1211B),
 	ZYD_ZD1211B_DEV(ASUS, A9T_WIFI),
@@ -510,9 +511,6 @@ zyd_tx_free(struct zyd_tx_data *data, in
 		m_freem(data->m);
 		data->m = NULL;
 
-		if (txerr == 0)
-			ieee80211_ratectl_tx_complete(data->ni->ni_vap,
-			    data->ni, IEEE80211_RATECTL_TX_SUCCESS, NULL, NULL);
 		ieee80211_free_node(data->ni);
 		data->ni = NULL;
 	}



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