staging: most: fix retrieval of buffer availability
authorChristian Gromm <christian.gromm@microchip.com>
Tue, 12 Jan 2016 13:00:03 +0000 (14:00 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 01:34:58 +0000 (17:34 -0800)
commitcdc293d58945527f36b13771822be69277c21bd6
treebd20a7a458ccc59c0ec561c55ac0c1ee602e2d20
parent5f858a61a8b4f5fec7b3c0618646ed6f7bfcd3a7
staging: most: fix retrieval of buffer availability

This patch fixes the function channel_has_mbo that delivers the false
information in case two AIMs are using the same tx channel.

Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/aim-cdev/cdev.c
drivers/staging/most/mostcore/core.c
drivers/staging/most/mostcore/mostcore.h