mirror of
https://github.com/mfontanini/libtins
synced 2026-01-23 02:35:57 +01:00
@@ -136,7 +136,7 @@ Dot11QoSData::Dot11QoSData(const uint8_t* buffer, uint32_t total_sz)
|
|||||||
InputMemoryStream stream(buffer, total_sz);
|
InputMemoryStream stream(buffer, total_sz);
|
||||||
stream.skip(Dot11Data::header_size());
|
stream.skip(Dot11Data::header_size());
|
||||||
stream.read(qos_control_);
|
stream.read(qos_control_);
|
||||||
if (total_sz) {
|
if (stream) {
|
||||||
// If the wep bit is on, then just use a RawPDU
|
// If the wep bit is on, then just use a RawPDU
|
||||||
if (wep()) {
|
if (wep()) {
|
||||||
inner_pdu(new Tins::RawPDU(stream.pointer(), stream.size()));
|
inner_pdu(new Tins::RawPDU(stream.pointer(), stream.size()));
|
||||||
|
|||||||
Reference in New Issue
Block a user