diff options
Diffstat (limited to 'python/examples/wiphy.py')
-rw-r--r-- | python/examples/wiphy.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/examples/wiphy.py b/python/examples/wiphy.py index fc222052..73e2d4dc 100644 --- a/python/examples/wiphy.py +++ b/python/examples/wiphy.py @@ -127,7 +127,7 @@ try: family = genl.genl_ctrl_resolve(s, 'nl80211') m = nl.nlmsg_alloc() genl.genlmsg_put(m, 0, 0, family, 0, 0, nl80211.NL80211_CMD_GET_WIPHY, 0) - nl.nla_put_u32(m, nl80211.NL80211_ATTR_WIPHY, 0) + nl.nla_put_u32(m, nl80211.NL80211_ATTR_WIPHY, 7) err = nl.nl_send_auto_complete(s, m); if err < 0: |