cfg80211: Support backport of removing ieee80211

Bug: 62058353
Change-Id: Id8725947048bb4ba461dcb77b7b9023991a304be
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
This commit is contained in:
Srinivas Girigowda 2017-08-03 12:35:52 -07:00 committed by codeworkx
parent 37cfc3815d
commit 42535d6d10

View file

@ -5800,4 +5800,11 @@ void cfg80211_ap_stopped(struct net_device *netdev, gfp_t gfp);
#define wiphy_WARN(wiphy, format, args...) \
WARN(1, "wiphy: %s\n" format, wiphy_name(wiphy), ##args);
/* 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 */