]> Git Repo - linux.git/commit
rt2x00: Make rt2x00_queue_entry_for_each more flexible
authorHelmut Schaa <[email protected]>
Mon, 18 Apr 2011 13:27:43 +0000 (15:27 +0200)
committerJohn W. Linville <[email protected]>
Tue, 19 Apr 2011 19:39:13 +0000 (15:39 -0400)
commit10e11568ca8b8a15f7478f6a4ceebabcbdba1018
tree9ace4fe0ad5280fc46705aebef9bfa06b7c346ef
parent7dab73b37f5e8885cb73efd25e73861f9b4f0246
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 <[email protected]>
Signed-off-by: Ivo van Doorn <[email protected]>
Acked-by: Gertjan van Wingerde <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
drivers/net/wireless/rt2x00/rt2x00queue.c
drivers/net/wireless/rt2x00/rt2x00queue.h
drivers/net/wireless/rt2x00/rt2x00usb.c
This page took 0.052634 seconds and 4 git commands to generate.