net/osdp Support additional baud rates
@@ -506,7 +506,10 @@ pd_decode_command(struct osdp_pd *pd, uint8_t *buf, int len)
cmd.comset.baud_rate |= buf[pos++] << 24;
if (cmd.comset.address >= 0x7F ||
(cmd.comset.baud_rate != 9600 &&
+ cmd.comset.baud_rate != 14400 &&
+ cmd.comset.baud_rate != 19200 &&
cmd.comset.baud_rate != 38400 &&
+ cmd.comset.baud_rate != 57600 &&
cmd.comset.baud_rate != 115200)) {
OSDP_LOG_ERROR("osdp: pd: COMSET Failed! command discarded\n");
cmd.comset.address = pd->address;
