summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/autopair.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/autopair.c b/plugins/autopair.c
index e6e5035e3..8c98c12ba 100644
--- a/plugins/autopair.c
+++ b/plugins/autopair.c
@@ -121,6 +121,14 @@ static ssize_t autopair_pincb(struct btd_adapter *adapter,
}
break;
+ case 0x06: /* Imaging */
+ if (class & 0x80) { /* Printer */
+ if (attempt > 1)
+ return 0;
+ memcpy(pinbuf, "0000", 4);
+ return 4;
+ }
+ break;
}
return 0;