gadget/rndis: dev_get_stats() now returns rtnl_link_stats64.

Based upon a report by Stephen Rothwell.

Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
David S. Miller 2010-06-15 21:50:14 -07:00
parent 5f2f892095
commit fdb93f8ac3
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ gen_ndis_query_resp (int configNr, u32 OID, u8 *buf, unsigned buf_len,
int i, count; int i, count;
rndis_query_cmplt_type *resp; rndis_query_cmplt_type *resp;
struct net_device *net; struct net_device *net;
const struct net_device_stats *stats; const struct rtnl_link_stats64 *stats;
if (!r) return -ENOMEM; if (!r) return -ENOMEM;
resp = (rndis_query_cmplt_type *) r->buf; resp = (rndis_query_cmplt_type *) r->buf;