diff --git a/[refs] b/[refs] index c88bdd572e29..cb66f01ce854 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 671e470ed04865ca148b83f46319d14547481340 +refs/heads/master: fe6e87a4b570d2e435709746ba550a7197016bd0 diff --git a/trunk/drivers/usb/wusbcore/reservation.c b/trunk/drivers/usb/wusbcore/reservation.c index c37e4f83e54a..4ed97360c046 100644 --- a/trunk/drivers/usb/wusbcore/reservation.c +++ b/trunk/drivers/usb/wusbcore/reservation.c @@ -110,6 +110,9 @@ int wusbhc_rsv_establish(struct wusbhc *wusbhc) */ void wusbhc_rsv_terminate(struct wusbhc *wusbhc) { - uwb_rsv_terminate(wusbhc->rsv); - uwb_rsv_destroy(wusbhc->rsv); + if (wusbhc->rsv) { + uwb_rsv_terminate(wusbhc->rsv); + uwb_rsv_destroy(wusbhc->rsv); + wusbhc->rsv = NULL; + } }