batman-adv: Drop redefinition of NL80211_STA_INFO_EXPECTED_THROUGHPUT
authorSven Eckelmann <sven@narfation.org>
Fri, 22 Feb 2019 19:19:42 +0000 (20:19 +0100)
committerSven Eckelmann <sven@narfation.org>
Fri, 22 Feb 2019 19:19:42 +0000 (20:19 +0100)
NL80211_STA_INFO_EXPECTED_THROUGHPUT is defined by the mac80211 package and
doesn't have to be redefined in the compat-hacks.h.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
batman-adv/src/compat-hacks.h

index 718a15c710c44078fdad5c122844d400064cedfe..748ba1d0ff91c8b96aff9e521b1618f063d65b18 100644 (file)
 
 #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 0, 0)
 
-/* for batadv_v_elp_get_throughput which would have used
- * STATION_INFO_EXPECTED_THROUGHPUT in Linux 4.0.0
- */
-#define NL80211_STA_INFO_EXPECTED_THROUGHPUT    28
-
 /* wild hack for batadv_getlink_net only */
 #define get_link_net get_xstats_size || 1 ? fallback_net : (struct net*)netdev->rtnl_link_ops->get_xstats_size