Fixed implementation of channel_clear() function
Fixed implementation of channel_clear() function

adrianghc/RIOT,benoit-canet/RIOT,attdona/RIOT,toonst/RIOT,backenklee/RIOT,Josar/RIOT,tdautc19841202/RIOT,kaleb-himes/RIOT,JensErdmann/RIOT,brettswann/RIOT,herrfz/RIOT,nsol-nmsu/RIOT,lazytech-org/RIOT,stevenj/RIOT,dhruvvyas90/RIOT,adjih/RIOT,PSHIVANI/Riot-Code,gebart/RIOT,zhuoshuguo/RIOT,luciotorre/RIOT,dailab/RIOT,backenklee/RIOT,rajma996/RIOT,haoyangyu/RIOT,jferreir/RIOT,Josar/RIOT,sgso/RIOT,neumodisch/RIOT,wentaoshang/RIOT,MohmadAyman/RIOT,attdona/RIOT,robixnai/RIOT,gautric/RIOT,neumodisch/RIOT,Yonezawa-T2/RIOT,syin2/RIOT,RubikonAlpha/RIOT,Ell-i/RIOT,l3nko/RIOT,abkam07/RIOT,ThanhVic/RIOT,smlng/RIOT,OTAkeys/RIOT,abkam07/RIOT,syin2/RIOT,ros2/ros2_embedded_riot,brettswann/RIOT,gebart/RIOT,alignan/RIOT,thiagohd/RIOT,arvindpdmn/RIOT,beurdouche/RIOT,sgso/RIOT,Ell-i/RIOT,d00616/RIOT,Hyungsin/RIOT-OS,ntrtrung/RIOT,herrfz/RIOT-old,haoyangyu/RIOT,foss-for-synopsys-dwc-arc-processors/RIOT,TobiasFredersdorf/RIOT,mtausig/RIOT,herrfz/RIOT-old,arvindpdmn/RIOT,openkosmosorg/RIOT,DipSwitch/RIOT,DipSwitch/RIOT,A-Paul/RIOT,Hyungsin/RIOT-OS,binarylemon/RIOT,EmuxEvans/RIOT,ros2/ros2_embedded_riot,Yonezawa-T2/RIOT,syin2/RIOT,nsol-nmsu/RIOT,robixnai/RIOT,haoyangyu/RIOT,bartfaizoltan/RIOT,dhruvvyas90/RIOT,jhollister/RIOT,Osblouf/RIOT,miri64/RIOT,phiros/RIOT,MohmadAyman/RIOT,Darredevil/RIOT,neiljay/RIOT,OTAkeys/RIOT,openkosmosorg/RIOT,gbarnett/RIOT,rakendrathapa/RIOT,shady33/RIOT,EmuxEvans/RIOT,Darredevil/RIOT,Josar/RIOT,sumanpanchal/RIOT,altairpearl/RIOT,OTAkeys/RIOT,fnack/RIOT,automote/RIOT,TobiasFredersdorf/RIOT,x3ro/RIOT,rajma996/RIOT,abp719/RIOT,hamilton-mote/RIOT-OS,binarylemon/RIOT,kaspar030/RIOT,1blankz7/RIOT,watr-li/RIOT,jfischer-phytec-iot/RIOT,sumanpanchal/RIOT,watr-li/RIOT,marcosalm/RIOT,RIOT-OS/RIOT,sgso/RIOT,plushvoxel/RIOT,FrancescoErmini/RIOT,gbarnett/RIOT,lazytech-org/RIOT,hamilton-mote/RIOT-OS,biboc/RIOT,brettswann/RIOT,watr-li/RIOT,changbiao/RIOT,openkosmosorg/RIOT,arvindpdmn/RIOT,immesys/RiSyn,mziegert/RIOT,kushalsingh007/RIOT,dkm/RIOT,phiros/RIOT,Lotterleben/RIOT,Osblouf/RIOT,katezilla/RIOT,malosek/RIOT,yogo1212/RIOT,rajma996/RIOT,alignan/RIOT,luciotorre/RIOT,immesys/RiSyn,kb2ma/RIOT,fnack/RIOT,neiljay/RIOT,neumodisch/RIOT,RubikonAlpha/RIOT,Hyungsin/RIOT-OS,Yonezawa-T2/RIOT,OlegHahm/RIOT,neiljay/RIOT,RBartz/RIOT,phiros/RIOT,chris-wood/RIOT,rajma996/RIOT,abp719/RIOT,plushvoxel/RIOT,automote/RIOT,A-Paul/RIOT,centurysys/RIOT,ros2/ros2_embedded_riot,ros2/ros2_embedded_riot,attdona/RIOT,BytesGalore/RIOT,centurysys/RIOT,kaleb-himes/RIOT,marcosalm/RIOT,roberthartung/RIOT,malosek/RIOT,lebrush/RIOT,gautric/RIOT,thiagohd/RIOT,biboc/RIOT,dkm/RIOT,OTAkeys/RIOT,kaspar030/RIOT,msolters/RIOT,asanka-code/RIOT,sumanpanchal/RIOT,wentaoshang/RIOT,shady33/RIOT,altairpearl/RIOT,MohmadAyman/RIOT,kaleb-himes/RIOT,phiros/RIOT,tfar/RIOT,phiros/RIOT,koenning/RIOT,wentaoshang/RIOT,binarylemon/RIOT,shady33/RIOT,plushvoxel/RIOT,lebrush/RIOT,zhuoshuguo/RIOT,OlegHahm/RIOT,yogo1212/RIOT,luciotorre/RIOT,Ell-i/RIOT,BytesGalore/PetersRIOT,adrianghc/RIOT,luciotorre/RIOT,avmelnikoff/RIOT,immesys/RiSyn,daniel-k/RIOT,MonsterCode8000/RIOT,adjih/RIOT,MonsterCode8000/RIOT,roberthartung/RIOT,jferreir/RIOT,jasonatran/RIOT,MarkXYang/RIOT,openkosmosorg/RIOT,Hyungsin/RIOT-OS,asanka-code/RIOT,syin2/RIOT,alignan/RIOT,rakendrathapa/RIOT,asanka-code/RIOT,watr-li/RIOT,kYc0o/RIOT,gebart/RIOT,msolters/RIOT,rousselk/RIOT,kaleb-himes/RIOT,immesys/RiSyn,herrfz/RIOT,rakendrathapa/RIOT,MarkXYang/RIOT,nsol-nmsu/RIOT,BytesGalore/PetersRIOT,toonst/RIOT,emmanuelsearch/RIOT,MarkXYang/RIOT,ntrtrung/RIOT,avmelnikoff/RIOT,mfrey/RIOT,robixnai/RIOT,rfuentess/RIOT,rfswarm/RIOT,RubikonAlpha/RIOT,EmuxEvans/RIOT,1blankz7/RIOT,miri64/RIOT,roberthartung/RIOT,LudwigKnuepfer/RIOT,herrfz/RIOT,Ell-i/RIOT,mfrey/RIOT,fnack/RIOT,fnack/RIOT,rfswarm2/RIOT,cladmi/RIOT,latsku/RIOT,automote/RIOT,RBartz/RIOT,kerneltask/RIOT,patkan/RIOT,spium/IoT-RIOT,ks156/RIOT,mtausig/RIOT,rakendrathapa/RIOT,OlegHahm/RIOT,BytesGalore/PetersRIOT,authmillenon/RIOT,OlegHahm/RIOT,kbumsik/RIOT,benoit-canet/RIOT,kaspar030/RIOT,stevenj/RIOT,DipSwitch/RIOT,rousselk/RIOT,patkan/RIOT,aeneby/RIOT,koenning/RIOT,patkan/RIOT,aeneby/RIOT,emmanuelsearch/RIOT,jbeyerstedt/RIOT-OTA-update,msolters/RIOT,1blankz7/RIOT,abp719/RIOT,ks156/RIOT,kbumsik/RIOT,abkam07/RIOT,avmelnikoff/RIOT,basilfx/RIOT,rfswarm/RIOT,jfischer-phytec-iot/RIOT,aeneby/RIOT,EmuxEvans/RIOT,l3nko/RIOT,ThanhVic/RIOT,josephnoir/RIOT,x3ro/RIOT,AnonMall/RIOT,thomaseichinger/RIOT,attdona/RIOT,BytesGalore/PetersRIOT,haoyangyu/RIOT,marcosalm/RIOT,mfrey/RIOT,kb2ma/RIOT,Osblouf/RIOT,A-Paul/RIOT,kYc0o/RIOT,fnack/RIOT,AnonMall/RIOT,avmelnikoff/RIOT,ant9000/RIOT,marcosalm/RIOT,shady33/RIOT,arvindpdmn/RIOT,immesys/RiSyn,changbiao/RIOT,biboc/RIOT,cladmi/RIOT,syin2/RIOT,patkan/RIOT,rousselk/RIOT,shady33/RIOT,asanka-code/RIOT,luciotorre/RIOT,phiros/RIOT,DipSwitch/RIOT,tfar/RIOT,alex1818/RIOT,ant9000/RIOT,ros2/ros2_embedded_riot,jferreir/RIOT,ks156/RIOT,latsku/RIOT,DipSwitch/RIOT,rakendrathapa/RIOT,alex1818/RIOT,alex1818/RIOT,OTAkeys/RIOT,ximus/RIOT,PSHIVANI/Riot-Code,BytesGalore/PetersRIOT,automote/RIOT,jremmert-phytec-iot/RIOT,patkan/RIOT,smlng/RIOT,AnonMall/RIOT,kushalsingh007/RIOT,ntrtrung/RIOT,herrfz/RIOT-old,LudwigKnuepfer/RIOT,x3ro/RIOT,adrianghc/RIOT,JensErdmann/RIOT,dkm/RIOT,FrancescoErmini/RIOT,bartfaizoltan/RIOT,bartfaizoltan/RIOT,gautric/RIOT,Lexandro92/RIOT-CoAP,ximus/RIOT,thiagohd/RIOT,RBartz/RIOT,basilfx/RIOT,Lexandro92/RIOT-CoAP,kb2ma/RIOT,adjih/RIOT,stevenj/RIOT,MohmadAyman/RIOT,jferreir/RIOT,jasonatran/RIOT,nsol-nmsu/RIOT,l3nko/RIOT,rfuentess/RIOT,changbiao/RIOT,arvindpdmn/RIOT,jremmert-phytec-iot/RIOT,jferreir/RIOT,lebrush/RIOT,jbeyerstedt/RIOT-OTA-update,Darredevil/RIOT,gbarnett/RIOT,Lotterleben/RIOT,josephnoir/RIOT,Lotterleben/RIOT,brettswann/RIOT,MonsterCode8000/RIOT,jfischer-phytec-iot/RIOT,spium/IoT-RIOT,rajma996/RIOT,authmillenon/RIOT,roberthartung/RIOT,beurdouche/RIOT,ThanhVic/RIOT,jhollister/RIOT,wentaoshang/RIOT,Darredevil/RIOT,mziegert/RIOT,ThanhVic/RIOT,locicontrols/RIOT,plushvoxel/RIOT,smlng/RIOT,zhuoshuguo/RIOT,DipSwitch/RIOT,kYc0o/RIOT,MohmadAyman/RIOT,jbeyerstedt/RIOT-OTA-update,Josar/RIOT,thomaseichinger/RIOT,latsku/RIOT,khhhh/RIOT,rousselk/RIOT,authmillenon/RIOT,herrfz/RIOT,foss-for-synopsys-dwc-arc-processors/RIOT,Lexandro92/RIOT-CoAP,chris-wood/RIOT,alignan/RIOT,Josar/RIOT,aeneby/RIOT,altairpearl/RIOT,abp719/RIOT,kushalsingh007/RIOT,msolters/RIOT,AnonMall/RIOT,attdona/RIOT,daniel-k/RIOT,jbeyerstedt/RIOT-OTA-update,RubikonAlpha/RIOT,EmuxEvans/RIOT,dailab/RIOT,adrianghc/RIOT,l3nko/RIOT,kbumsik/RIOT,jfischer-phytec-iot/RIOT,herrfz/RIOT,abkam07/RIOT,emmanuelsearch/RIOT,abkam07/RIOT,mfrey/RIOT,rfuentess/RIOT,backenklee/RIOT,RBartz/RIOT,emmanuelsearch/RIOT,fnack/RIOT,A-Paul/RIOT,locicontrols/RIOT,benoit-canet/RIOT,herrfz/RIOT,ntrtrung/RIOT,TobiasFredersdorf/RIOT,ximus/RIOT,sgso/RIOT,tdautc19841202/RIOT,JensErdmann/RIOT,d00616/RIOT,daniel-k/RIOT,stevenj/RIOT,LudwigOrtmann/RIOT,ros2/ros2_embedded_riot,ThanhVic/RIOT,toonst/RIOT,mziegert/RIOT,sumanpanchal/RIOT,tdautc19841202/RIOT,MarkXYang/RIOT,foss-for-synopsys-dwc-arc-processors/RIOT,altairpearl/RIOT,marcosalm/RIOT,MonsterCode8000/RIOT,MohmadAyman/RIOT,altairpearl/RIOT,RIOT-OS/RIOT,dailab/RIOT,rfswarm/RIOT,BytesGalore/RIOT,locicontrols/RIOT,BytesGalore/RIOT,basilfx/RIOT,neumodisch/RIOT,msolters/RIOT,d00616/RIOT,d00616/RIOT,spium/IoT-RIOT,katezilla/RIOT,robixnai/RIOT,sgso/RIOT,ximus/RIOT,ant9000/RIOT,FrancescoErmini/RIOT,ximus/RIOT,dkm/RIOT,chris-wood/RIOT,katezilla/RIOT,1blankz7/RIOT,jhollister/RIOT,Yonezawa-T2/RIOT,khhhh/RIOT,ant9000/RIOT,daniel-k/RIOT,jasonatran/RIOT,adjih/RIOT,BytesGalore/PetersRIOT,katezilla/RIOT,changbiao/RIOT,kerneltask/RIOT,Lotterleben/RIOT,altairpearl/RIOT,dhruvvyas90/RIOT,1blankz7/RIOT,robixnai/RIOT,kbumsik/RIOT,tfar/RIOT,cladmi/RIOT,basilfx/RIOT,alex1818/RIOT,daniel-k/RIOT,kushalsingh007/RIOT,hamilton-mote/RIOT-OS,automote/RIOT,miri64/RIOT,OlegHahm/RIOT,PSHIVANI/Riot-Code,dhruvvyas90/RIOT,dailab/RIOT,JensErdmann/RIOT,malosek/RIOT,MarkXYang/RIOT,asanka-code/RIOT,kushalsingh007/RIOT,openkosmosorg/RIOT,cladmi/RIOT,toonst/RIOT,LudwigOrtmann/RIOT,x3ro/RIOT,mtausig/RIOT,lebrush/RIOT,kerneltask/RIOT,ximus/RIOT,jasonatran/RIOT,kerneltask/RIOT,wentaoshang/RIOT,alex1818/RIOT,benoit-canet/RIOT,wentaoshang/RIOT,FrancescoErmini/RIOT,MonsterCode8000/RIOT,mziegert/RIOT,gebart/RIOT,lazytech-org/RIOT,bartfaizoltan/RIOT,jremmert-phytec-iot/RIOT,rajma996/RIOT,d00616/RIOT,khhhh/RIOT,MonsterCode8000/RIOT,tdautc19841202/RIOT,dhruvvyas90/RIOT,ros2/ros2_embedded_riot,yogo1212/RIOT,khhhh/RIOT,Lotterleben/RIOT,LudwigOrtmann/RIOT,rfswarm2/RIOT,centurysys/RIOT,thomaseichinger/RIOT,nsol-nmsu/RIOT,thiagohd/RIOT,PSHIVANI/Riot-Code,LudwigOrtmann/RIOT,koenning/RIOT,l3nko/RIOT,thomaseichinger/RIOT,yogo1212/RIOT,rfswarm2/RIOT,mtausig/RIOT,adjih/RIOT,basilfx/RIOT,tdautc19841202/RIOT,changbiao/RIOT,LudwigKnuepfer/RIOT,neumodisch/RIOT,immesys/RiSyn,PSHIVANI/Riot-Code,sumanpanchal/RIOT,spium/IoT-RIOT,jfischer-phytec-iot/RIOT,jremmert-phytec-iot/RIOT,authmillenon/RIOT,benoit-canet/RIOT,FrancescoErmini/RIOT,spium/IoT-RIOT,foss-for-synopsys-dwc-arc-processors/RIOT,aeneby/RIOT,lebrush/RIOT,miri64/RIOT,toonst/RIOT,khhhh/RIOT,AnonMall/RIOT,asanka-code/RIOT,gebart/RIOT,kbumsik/RIOT,katezilla/RIOT,smlng/RIOT,automote/RIOT,bartfaizoltan/RIOT,robixnai/RIOT,EmuxEvans/RIOT,TobiasFredersdorf/RIOT,spium/IoT-RIOT,mziegert/RIOT,d00616/RIOT,daniel-k/RIOT,RIOT-OS/RIOT,LudwigOrtmann/RIOT,watr-li/RIOT,malosek/RIOT,rfswarm/RIOT,jbeyerstedt/RIOT-OTA-update,ThanhVic/RIOT,JensErdmann/RIOT,dhruvvyas90/RIOT,backenklee/RIOT,chris-wood/RIOT,changbiao/RIOT,jhollister/RIOT,1blankz7/RIOT,biboc/RIOT,l3nko/RIOT,RubikonAlpha/RIOT,koenning/RIOT,mfrey/RIOT,JensErdmann/RIOT,khhhh/RIOT,thiagohd/RIOT,ant9000/RIOT,koenning/RIOT,bartfaizoltan/RIOT,koenning/RIOT,mziegert/RIOT,stevenj/RIOT,beurdouche/RIOT,abp719/RIOT,PSHIVANI/Riot-Code,zhuoshuguo/RIOT,kaleb-himes/RIOT,ntrtrung/RIOT,gbarnett/RIOT,benoit-canet/RIOT,foss-for-synopsys-dwc-arc-processors/RIOT,BytesGalore/RIOT,rfuentess/RIOT,kYc0o/RIOT,rfswarm/RIOT,Osblouf/RIOT,mtausig/RIOT,biboc/RIOT,kaspar030/RIOT,kushalsingh007/RIOT,stevenj/RIOT,jhollister/RIOT,patkan/RIOT,FrancescoErmini/RIOT,beurdouche/RIOT,Yonezawa-T2/RIOT,msolters/RIOT,jferreir/RIOT,thiagohd/RIOT,gbarnett/RIOT,zhuoshuguo/RIOT,authmillenon/RIOT,josephnoir/RIOT,MarkXYang/RIOT,latsku/RIOT,rousselk/RIOT,attdona/RIOT,herrfz/RIOT-old,Lexandro92/RIOT-CoAP,rfuentess/RIOT,A-Paul/RIOT,Lotterleben/RIOT,chris-wood/RIOT,kb2ma/RIOT,locicontrols/RIOT,smlng/RIOT,watr-li/RIOT,yogo1212/RIOT,Yonezawa-T2/RIOT,rfswarm2/RIOT,zhuoshuguo/RIOT,jasonatran/RIOT,centurysys/RIOT,kerneltask/RIOT,AnonMall/RIOT,latsku/RIOT,thomaseichinger/RIOT,kYc0o/RIOT,RIOT-OS/RIOT,alignan/RIOT,centurysys/RIOT,gbarnett/RIOT,BytesGalore/RIOT,miri64/RIOT,josephnoir/RIOT,locicontrols/RIOT,authmillenon/RIOT,neumodisch/RIOT,centurysys/RIOT,brettswann/RIOT,dkm/RIOT,avmelnikoff/RIOT,RubikonAlpha/RIOT,brettswann/RIOT,malosek/RIOT,backenklee/RIOT,hamilton-mote/RIOT-OS,lebrush/RIOT,luciotorre/RIOT,neiljay/RIOT,binarylemon/RIOT,locicontrols/RIOT,herrfz/RIOT-old,arvindpdmn/RIOT,malosek/RIOT,neiljay/RIOT,binarylemon/RIOT,Osblouf/RIOT,ks156/RIOT,tdautc19841202/RIOT,x3ro/RIOT,jhollister/RIOT,kaspar030/RIOT,RIOT-OS/RIOT,Osblouf/RIOT,RBartz/RIOT,emmanuelsearch/RIOT,jremmert-phytec-iot/RIOT,LudwigKnuepfer/RIOT,rakendrathapa/RIOT,sgso/RIOT,emmanuelsearch/RIOT,rfswarm2/RIOT,openkosmosorg/RIOT,Ell-i/RIOT,lazytech-org/RIOT,roberthartung/RIOT,Lotterleben/RIOT,tfar/RIOT,alex1818/RIOT,LudwigKnuepfer/RIOT,josephnoir/RIOT,gautric/RIOT,cladmi/RIOT,TobiasFredersdorf/RIOT,LudwigOrtmann/RIOT,Lexandro92/RIOT-CoAP,locicontrols/RIOT,marcosalm/RIOT,shady33/RIOT,kb2ma/RIOT,yogo1212/RIOT,lazytech-org/RIOT,ks156/RIOT,chris-wood/RIOT,Darredevil/RIOT,Lexandro92/RIOT-CoAP,BytesGalore/PetersRIOT,tfar/RIOT,jremmert-phytec-iot/RIOT,haoyangyu/RIOT,latsku/RIOT,RBartz/RIOT,plushvoxel/RIOT,abp719/RIOT,beurdouche/RIOT,hamilton-mote/RIOT-OS,abkam07/RIOT,adrianghc/RIOT,rfswarm2/RIOT,dailab/RIOT,Hyungsin/RIOT-OS,ntrtrung/RIOT,binarylemon/RIOT,haoyangyu/RIOT,rousselk/RIOT,gautric/RIOT,sumanpanchal/RIOT,rfswarm/RIOT,Darredevil/RIOT