mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-01-18 02:29:45 +00:00
Fix disabling mac-commands.
This commit is contained in:
parent
4b41893f42
commit
9ab059a552
@ -373,6 +373,11 @@ impl Data {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async fn set_mac_commands(&mut self) -> Result<()> {
|
async fn set_mac_commands(&mut self) -> Result<()> {
|
||||||
|
let conf = config::get();
|
||||||
|
if conf.network.mac_commands_disabled {
|
||||||
|
return Ok(());
|
||||||
|
}
|
||||||
|
|
||||||
// First we set all mac-commands. This does not take the max. payload size in mind, that
|
// First we set all mac-commands. This does not take the max. payload size in mind, that
|
||||||
// will be taken care of in one of the next steps.
|
// will be taken care of in one of the next steps.
|
||||||
self._request_custom_channel_reconfiguration().await?;
|
self._request_custom_channel_reconfiguration().await?;
|
||||||
|
Loading…
Reference in New Issue
Block a user