Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Mar 2011 05:01:14 +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: r219982 - head/sys/dev/usb/wlan
Message-ID:  <201103250501.p2P51EUd068067@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kevlo
Date: Fri Mar 25 05:01:13 2011
New Revision: 219982
URL: http://svn.freebsd.org/changeset/base/219982

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

Modified:
  head/sys/dev/usb/wlan/if_zyd.c

Modified: head/sys/dev/usb/wlan/if_zyd.c
==============================================================================
--- head/sys/dev/usb/wlan/if_zyd.c	Fri Mar 25 04:15:30 2011	(r219981)
+++ head/sys/dev/usb/wlan/if_zyd.c	Fri Mar 25 05:01:13 2011	(r219982)
@@ -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?201103250501.p2P51EUd068067>