Skip to content

Commit

Permalink
Updated NL80211_ATTR_STA_{AID,LISTEN_INTERVAL,CAPABILITY} from hex
Browse files Browse the repository at this point in the history
…type to the correct `uint16` type.
  • Loading branch information
carlsondev authored Oct 23, 2024
1 parent 8433814 commit a64b8f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pyroute2/netlink/nl80211/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,9 +267,9 @@ class nl80211cmd(genlmsg):
('NL80211_ATTR_DTIM_PERIOD', 'hex'),
('NL80211_ATTR_BEACON_HEAD', 'hex'),
('NL80211_ATTR_BEACON_TAIL', 'hex'),
('NL80211_ATTR_STA_AID', 'hex'),
('NL80211_ATTR_STA_AID', 'uint16'),
('NL80211_ATTR_STA_FLAGS', 'hex'),
('NL80211_ATTR_STA_LISTEN_INTERVAL', 'hex'),
('NL80211_ATTR_STA_LISTEN_INTERVAL', 'uint16'),
('NL80211_ATTR_STA_SUPPORTED_RATES', 'hex'),
('NL80211_ATTR_STA_VLAN', 'hex'),
('NL80211_ATTR_STA_INFO', 'STAInfo'),
Expand Down Expand Up @@ -422,7 +422,7 @@ class nl80211cmd(genlmsg):
('NL80211_ATTR_RADAR_EVENT', 'hex'),
('NL80211_ATTR_EXT_CAPA', 'array(uint8)'),
('NL80211_ATTR_EXT_CAPA_MASK', 'array(uint8)'),
('NL80211_ATTR_STA_CAPABILITY', 'hex'),
('NL80211_ATTR_STA_CAPABILITY', 'uint16'),
('NL80211_ATTR_STA_EXT_CAPABILITY', 'hex'),
('NL80211_ATTR_PROTOCOL_FEATURES', 'hex'),
('NL80211_ATTR_SPLIT_WIPHY_DUMP', 'hex'),
Expand Down

0 comments on commit a64b8f0

Please sign in to comment.