mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-21 17:47:00 +00:00
iw: fix build error caused by redeclaration of NL80211_ATTR_PAD
Signed-off-by: Rafał Miłecki <rafal@milecki.pl> Fixes: 7aff00ab199 ("iw: update to version 4.9")
This commit is contained in:
parent
7aff00ab19
commit
fc93494066
@ -1,23 +1,19 @@
|
|||||||
--- a/nl80211.h
|
--- a/nl80211.h
|
||||||
+++ b/nl80211.h
|
+++ b/nl80211.h
|
||||||
@@ -1937,6 +1937,11 @@ enum nl80211_commands {
|
@@ -1937,6 +1937,9 @@ enum nl80211_commands {
|
||||||
* @NL80211_ATTR_NAN_MATCH: used to report a match. This is a nested attribute.
|
* @NL80211_ATTR_NAN_MATCH: used to report a match. This is a nested attribute.
|
||||||
* See &enum nl80211_nan_match_attributes.
|
* See &enum nl80211_nan_match_attributes.
|
||||||
*
|
*
|
||||||
+ * @NL80211_ATTR_PAD: attribute used for padding for 64-bit alignment
|
|
||||||
+ *
|
|
||||||
+ * @NL80211_ATTR_WIPHY_ANTENNA_GAIN: Configured antenna gain. Used to reduce
|
+ * @NL80211_ATTR_WIPHY_ANTENNA_GAIN: Configured antenna gain. Used to reduce
|
||||||
+ * transmit power to stay within regulatory limits. u32, dBi.
|
+ * transmit power to stay within regulatory limits. u32, dBi.
|
||||||
+ *
|
+ *
|
||||||
* @NUM_NL80211_ATTR: total number of nl80211_attrs available
|
* @NUM_NL80211_ATTR: total number of nl80211_attrs available
|
||||||
* @NL80211_ATTR_MAX: highest attribute number currently defined
|
* @NL80211_ATTR_MAX: highest attribute number currently defined
|
||||||
* @__NL80211_ATTR_AFTER_LAST: internal use
|
* @__NL80211_ATTR_AFTER_LAST: internal use
|
||||||
@@ -2336,6 +2341,10 @@ enum nl80211_attrs {
|
@@ -2336,6 +2339,8 @@ enum nl80211_attrs {
|
||||||
NL80211_ATTR_NAN_FUNC,
|
NL80211_ATTR_NAN_FUNC,
|
||||||
NL80211_ATTR_NAN_MATCH,
|
NL80211_ATTR_NAN_MATCH,
|
||||||
|
|
||||||
+ NL80211_ATTR_PAD,
|
|
||||||
+
|
|
||||||
+ NL80211_ATTR_WIPHY_ANTENNA_GAIN,
|
+ NL80211_ATTR_WIPHY_ANTENNA_GAIN,
|
||||||
+
|
+
|
||||||
/* add attributes here, update the policy in nl80211.c */
|
/* add attributes here, update the policy in nl80211.c */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user