aboutsummaryrefslogtreecommitdiff
path: root/hw/bt.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/bt.c')
-rw-r--r--hw/bt.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/hw/bt.c b/hw/bt.c
index ca8bd1e..0c75ef5 100644
--- a/hw/bt.c
+++ b/hw/bt.c
@@ -164,16 +164,14 @@ static void get_bt_caps_complete(struct ipmi_msg *msg)
goto out;
}
- if (msg->data[1] + 1 != BT_FIFO_LEN) {
+ if (msg->data[1] != BT_FIFO_LEN) {
prlog(PR_DEBUG, "Got a input buffer len (%u) cap which differs from the default\n",
msg->data[1]);
- goto out;
}
- if (msg->data[2] + 1 != BT_FIFO_LEN) {
+ if (msg->data[2] != BT_FIFO_LEN) {
prlog(PR_DEBUG, "Got a output buffer len (%u) cap which differs from the default\n",
msg->data[2]);
- goto out;
}
/*