svn commit: r300434 - head/sys/dev/urtwn
Andriy Voskoboinyk
avos at FreeBSD.org
Sun May 22 20:12:09 UTC 2016
Author: avos
Date: Sun May 22 20:12:07 2016
New Revision: 300434
URL: https://svnweb.freebsd.org/changeset/base/300434
Log:
urtwn: cleanup some unused code in urtwn_tx_data().
- Drop unused 'subtype' variable.
- Remove obsolete comment (hardware crypto support was added in r292175).
Modified:
head/sys/dev/urtwn/if_urtwn.c
Modified: head/sys/dev/urtwn/if_urtwn.c
==============================================================================
--- head/sys/dev/urtwn/if_urtwn.c Sun May 22 19:43:40 2016 (r300433)
+++ head/sys/dev/urtwn/if_urtwn.c Sun May 22 20:12:07 2016 (r300434)
@@ -2838,17 +2838,13 @@ urtwn_tx_data(struct urtwn_softc *sc, st
struct ieee80211_channel *chan;
struct ieee80211_frame *wh;
struct r92c_tx_desc *txd;
- uint8_t macid, raid, rate, ridx, subtype, type, tid, qos, qsel;
+ uint8_t macid, raid, rate, ridx, type, tid, qos, qsel;
int hasqos, ismcast;
URTWN_ASSERT_LOCKED(sc);
- /*
- * Software crypto.
- */
wh = mtod(m, struct ieee80211_frame *);
type = wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK;
- subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK;
hasqos = IEEE80211_QOS_HAS_SEQ(wh);
ismcast = IEEE80211_IS_MULTICAST(wh->i_addr1);
More information about the svn-src-all
mailing list