Skip to content

Commit

Permalink
nl80211: Merge pull request #1217 from carlsondev/master
Browse files Browse the repository at this point in the history
Updated some NL80211_ATTR types from hex to uint16 

Bug-Url: #1217
  • Loading branch information
svinota authored Oct 24, 2024
2 parents 8433814 + a64b8f0 commit 3a9dca8
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 3a9dca8

Please sign in to comment.