svn commit: r219982 - head/sys/dev/usb/wlan
Kevin Lo
kevlo at FreeBSD.org
Fri Mar 25 05:01:14 UTC 2011
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;
}
More information about the svn-src-head
mailing list