summaryrefslogtreecommitdiffstats
path: root/drivers/uwb/lc-dev.c
diff options
context:
space:
mode:
authorThomas Pugliese <thomas.pugliese@gmail.com>2014-04-25 17:30:32 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-27 23:56:54 +0200
commit90ec00d54e28f4b038e66905ea5b9478bcdc3f37 (patch)
tree71ed3bc15a264277adcad0b562d8198d8656759f /drivers/uwb/lc-dev.c
parentusb: host: ohci-exynos: Use devm_ioremap_resource instead of devm_ioremap (diff)
downloadlinux-90ec00d54e28f4b038e66905ea5b9478bcdc3f37.tar.xz
linux-90ec00d54e28f4b038e66905ea5b9478bcdc3f37.zip
uwb: fix channel change failure
Make the transition to the UWB_RSV_STATE_NONE state synchronous so that there is not a race between uwb_rsv_terminate and uwb_rsv_establish. uwb_rsv_terminate would set the rsv->state to UWB_RSV_STATE_NONE but did not release the stream resource until a 320ms timeout had expired. If a user called uwb_rsv_establish during that time, it could fail to establish the reservation because no stream resources were available. This patch removes the timer from the uwb_rsv_terminate process since it is not needed when transitioning to UWB_RSV_STATE_NONE. Signed-off-by: Thomas Pugliese <thomas.pugliese@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/uwb/lc-dev.c')
0 files changed, 0 insertions, 0 deletions