Skip to content

Commit

Permalink
gadget/rndis: dev_get_stats() now returns rtnl_link_stats64.
Browse files Browse the repository at this point in the history
Based upon a report by Stephen Rothwell.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Jun 16, 2010
1 parent 5f2f892 commit fdb93f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/gadget/rndis.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fdb93f8

Please sign in to comment.