[commits] [openwrt-feed-devel] master: batman-adv-devel: Drop redefinition of NL80211_STA_INFO_EXPECTED_THROUGHPUT (3fc7244)

postmaster at open-mesh.org postmaster at open-mesh.org
Sat Mar 9 13:02:45 CET 2019


Repository : ssh://git@open-mesh.org/openwrt-feed-devel

On branch  : master

>---------------------------------------------------------------

commit 3fc724454ebce054f073bbbbeb90c09f59277ddb
Author: Sven Eckelmann <sven at narfation.org>
Date:   Fri Feb 22 20:19:42 2019 +0100

    batman-adv-devel: Drop redefinition of NL80211_STA_INFO_EXPECTED_THROUGHPUT
    
    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 at narfation.org>


>---------------------------------------------------------------

3fc724454ebce054f073bbbbeb90c09f59277ddb
 batman-adv-devel/src/compat-hacks.h | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/batman-adv-devel/src/compat-hacks.h b/batman-adv-devel/src/compat-hacks.h
index 718a15c..748ba1d 100644
--- a/batman-adv-devel/src/compat-hacks.h
+++ b/batman-adv-devel/src/compat-hacks.h
@@ -36,11 +36,6 @@
 
 #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
 



More information about the commits mailing list