1
0

008-revert-ndo_stats64-cleanup.patch 548 B

1234567891011121314151617181920
  1. --- a/net/mac80211/iface.c
  2. +++ b/net/mac80211/iface.c
  3. @@ -1133,7 +1133,7 @@ static u16 ieee80211_netdev_select_queue
  4. return ieee80211_select_queue(IEEE80211_DEV_TO_SUB_IF(dev), skb);
  5. }
  6. -static void
  7. +static struct rtnl_link_stats64 *
  8. ieee80211_get_stats64(struct net_device *dev, struct rtnl_link_stats64 *stats)
  9. {
  10. int i;
  11. @@ -1158,6 +1158,8 @@ ieee80211_get_stats64(struct net_device
  12. stats->rx_bytes += rx_bytes;
  13. stats->tx_bytes += tx_bytes;
  14. }
  15. +
  16. + return stats;
  17. }
  18. static const struct net_device_ops ieee80211_dataif_ops = {