Skip to content

Commit

Permalink
Issue Lora-net#764 - Fix wrong assignment of attributes in function L…
Browse files Browse the repository at this point in the history
…oRaMacMibSetRequestConfirm for case MIB_CHANNELS_DEFAULT_MASK
  • Loading branch information
Daniel Jaeckle authored and mluis1 committed Aug 5, 2019
1 parent 3255473 commit 180c8de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mac/LoRaMac.c
Original file line number Diff line number Diff line change
Expand Up @@ -4069,7 +4069,7 @@ LoRaMacStatus_t LoRaMacMibSetRequestConfirm( MibRequestConfirm_t* mibSet )
}
case MIB_CHANNELS_DEFAULT_MASK:
{
chanMaskSet.ChannelsMaskIn = mibSet->Param.ChannelsMask;
chanMaskSet.ChannelsMaskIn = mibSet->Param.ChannelsDefaultMask;
chanMaskSet.ChannelsMaskType = CHANNELS_DEFAULT_MASK;

if( RegionChanMaskSet( MacCtx.NvmCtx->Region, &chanMaskSet ) == false )
Expand Down

0 comments on commit 180c8de

Please sign in to comment.