From a8f858b9080529e8f1f47ee5b2ab1e84b2074767 Mon Sep 17 00:00:00 2001 From: Srinivas Girigowda Date: Thu, 3 Aug 2017 12:35:52 -0700 Subject: [PATCH] cfg80211: Support backport of removing ieee80211 Bug: 62058353 Change-Id: Id8725947048bb4ba461dcb77b7b9023991a304be Signed-off-by: Nick Desaulniers Signed-off-by: Pranav Vashi --- include/net/cfg80211.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 5f79280756b9..eb0f72f0e47d 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h @@ -5941,4 +5941,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 */