Fix the issue where the `enable_qos` option does not take effect in the MQTT-SN gateway.