wlantest: Remove unused QoS handling from GCMP nonce generation
This was copied from CCMP, but is not needed (and can trigger compiler warnings) with GCMP. Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
parent
e0053bf9d0
commit
9732c8b85c
1 changed files with 0 additions and 4 deletions
|
@ -32,12 +32,8 @@ static void gcmp_aad_nonce(const struct ieee80211_hdr *hdr, const u8 *data,
|
||||||
if (WLAN_FC_GET_TYPE(fc) == WLAN_FC_TYPE_DATA) {
|
if (WLAN_FC_GET_TYPE(fc) == WLAN_FC_TYPE_DATA) {
|
||||||
fc &= ~0x0070; /* Mask subtype bits */
|
fc &= ~0x0070; /* Mask subtype bits */
|
||||||
if (stype & 0x08) {
|
if (stype & 0x08) {
|
||||||
const u8 *qc;
|
|
||||||
qos = 1;
|
qos = 1;
|
||||||
fc &= ~WLAN_FC_HTC;
|
fc &= ~WLAN_FC_HTC;
|
||||||
qc = (const u8 *) (hdr + 1);
|
|
||||||
if (addr4)
|
|
||||||
qc += ETH_ALEN;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue