Commit fdb93f8a authored by David S. Miller's avatar David S. Miller
Browse files

gadget/rndis: dev_get_stats() now returns rtnl_link_stats64.



Based upon a report by Stephen Rothwell.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5f2f8920
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -171,7 +171,7 @@ gen_ndis_query_resp (int configNr, u32 OID, u8 *buf, unsigned buf_len,
	int			i, count;
	rndis_query_cmplt_type	*resp;
	struct net_device	*net;
	const struct net_device_stats	*stats;
	const struct rtnl_link_stats64 *stats;

	if (!r) return -ENOMEM;
	resp = (rndis_query_cmplt_type *) r->buf;