
This line is meant to wait for the WEL bit to be set, to signify that the WRITE_ENABLE command has finished. The previous code didn't do any masking, so would hang if any other status bits were set.
This directory contains things shared by multiple HackRF firmware implementations.