summaryrefslogtreecommitdiff
path: root/samples/hidraw/hid-example.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2015-01-11 11:02:32 -0800
committerDavid S. Miller <davem@davemloft.net>2015-01-11 21:44:55 -0500
commit12d80ac4e77265a89b87c3b80e2c9a7b29f7fdfb (patch)
tree0ce2affa569497afe305f1ddf3eb90c255858aee /samples/hidraw/hid-example.c
parent0c8185944a125621a1766615585238a3563ccac3 (diff)
net: dnet: fix dnet_poll()
A NAPI poll() handler is supposed to return exactly the budget when/if napi_complete() has not been called. It is also supposed to return number of frames that were received, so that netdev_budget can have a meaning. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples/hidraw/hid-example.c')
0 files changed, 0 insertions, 0 deletions