I\'m trying to do a lescan using hcitool on the raspberry pi.
The command prints out
Set scan parameters failed: Input/output error.
I have removed Bluez and then I just installed it again, and it worked for me:
sudo apt remove --purge bluez bluez-* -y apt install bluez
And then
hcitool lescan
That should be enough.