summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSrinivas Girigowda <sgirigow@codeaurora.org>2017-08-03 12:35:52 -0700
committerDavide Garberi <dade.garberi@gmail.com>2021-10-07 19:48:36 +0200
commit60340ee9c88f998ea5ea1e8326197711c5b32ffd (patch)
tree6e0f6397c58ae115f08cbffb43697290904e37a5
parentb956672ad104c851847d37e24d8f46d0e5565253 (diff)
cfg80211: Support backport of removing ieee80211
Bug: 62058353 Change-Id: Id8725947048bb4ba461dcb77b7b9023991a304be Signed-off-by: Nick Desaulniers <ndesaulniers@google.com> Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
-rw-r--r--include/net/cfg80211.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 3252677ad786..58f17f75ccd9 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -5948,4 +5948,11 @@ void cfg80211_update_owe_info_event(struct net_device *netdev,
struct cfg80211_update_owe_info *owe_info,
gfp_t gfp);
+/* Due to our tree having a backport of
+ * 57fbcce37be7c1d2622b56587c10ade00e96afa3, this allows QC to support 4.7+
+ * kernels that use the newer NL80211_BAND_* and older kernels that use the
+ * older IEEE80211_BAND_* enums.
+ */
+#define CFG80211_REMOVE_IEEE80211_BACKPORT 1
+
#endif /* __NET_CFG80211_H */