Skip to content

Commit

Permalink
Fix parsing HE guard interval
Browse files Browse the repository at this point in the history
  • Loading branch information
ollipa committed Jul 31, 2023
1 parent bd993b6 commit 410056f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/attributes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ impl NlAttrType for BssParam {}
///
/// nl80211_he_gi enum from:
/// https://github.com/torvalds/linux/blob/master/include/uapi/linux/nl80211.h
#[neli_enum(serialized_type = "u16")]
#[neli_enum(serialized_type = "u8")]
pub(crate) enum HeGuardInterval {
/// 0.8 usec
Usec0_8 = 0,
Expand All @@ -625,8 +625,6 @@ pub(crate) enum HeGuardInterval {
Usec3_2 = 2,
}

impl NlAttrType for HeGuardInterval {}

/// Nl80211 HE RU allocation values.
///
/// These attribute types are used with `RateInfo.HeRuAlloc`.
Expand Down

0 comments on commit 410056f

Please sign in to comment.