1
0
Fork 0

uwb: use uwb_rsv_callback instead of calling rsv->callback directly

Use uwb_rsv_callback wrapper instead of calling rsv->callback directly.
uwb_rsv_callback checks for NULL and is used by other callers of the
callback routine.

Signed-off-by: Thomas Pugliese <thomas.pugliese@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
wifi-calibration
Thomas Pugliese 2013-12-20 11:54:09 -06:00 committed by Greg Kroah-Hartman
parent 67d0fb2592
commit bf359dff23
1 changed files with 1 additions and 1 deletions

View File

@ -919,7 +919,7 @@ static void uwb_rsv_alien_bp_work(struct work_struct *work)
list_for_each_entry(rsv, &rc->reservations, rc_node) {
if (rsv->type != UWB_DRP_TYPE_ALIEN_BP) {
rsv->callback(rsv);
uwb_rsv_callback(rsv);
}
}