diff --git a/resources/templates/provision/grandstream/ht801/{$mac}.xml b/resources/templates/provision/grandstream/ht801/{$mac}.xml
index 0916d0fa72..cfcbc47b2d 100644
--- a/resources/templates/provision/grandstream/ht801/{$mac}.xml
+++ b/resources/templates/provision/grandstream/ht801/{$mac}.xml
@@ -87,6 +87,9 @@
+ {if isset($grandstream_firmware_upgrade_protocol) }
+ {$grandstream_firmware_upgrade_protocol}
+ {else}
2
diff --git a/resources/templates/provision/grandstream/ht802/{$mac}.xml b/resources/templates/provision/grandstream/ht802/{$mac}.xml
index de86db987d..64a5e3b5c9 100644
--- a/resources/templates/provision/grandstream/ht802/{$mac}.xml
+++ b/resources/templates/provision/grandstream/ht802/{$mac}.xml
@@ -87,6 +87,9 @@
+ {if isset($grandstream_firmware_upgrade_protocol) }
+ {$grandstream_firmware_upgrade_protocol}
+ {else}
2