Change the behavior of the Device.channel attribute to mean the channel number rather than channel mask.