diff options
author | Helmut Schaa <helmut.schaa@googlemail.com> | 2011-04-18 15:27:43 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-04-19 21:39:13 +0200 |
commit | 10e11568ca8b8a15f7478f6a4ceebabcbdba1018 (patch) | |
tree | 9ace4fe0ad5280fc46705aebef9bfa06b7c346ef /drivers/net/3c515.c | |
parent | rt2x00: Split rt2x00dev->flags (diff) | |
download | linux-10e11568ca8b8a15f7478f6a4ceebabcbdba1018.tar.xz linux-10e11568ca8b8a15f7478f6a4ceebabcbdba1018.zip |
rt2x00: Make rt2x00_queue_entry_for_each more flexible
Allow passing a void pointer to rt2x00_queue_entry_for_each which in
turn in provided to the callback function.
Furthermore, allow the callback function to stop processing by returning
true. And also notify the caller of rt2x00_queue_entry_for_each if the
loop was canceled by the callback.
No functional changes, just preparation for an upcoming patch.
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/3c515.c')
0 files changed, 0 insertions, 0 deletions