Skip to content

Commit

Permalink
Fixed data frame serialization.
Browse files Browse the repository at this point in the history
  • Loading branch information
Frostie314159 committed Dec 25, 2024
1 parent 8228bef commit d8e08a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frames/data_frame/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ impl<Payload: TryIntoCtx<Error = scroll::Error>> TryIntoCtx<bool> for DataFrame<

buf.gwrite_with(
FrameControlField::new()
.with_frame_type(<Self as IEEE80211Frame>::TYPE)
.with_frame_type(FrameType::Data(self.header.subtype))
.with_flags(self.header.fcf_flags)
.into_bits(),
&mut offset,
Expand Down

0 comments on commit d8e08a4

Please sign in to comment.