On 07/08/18 18:46, Joe Perches wrote:
On Sun, 2018-07-08 at 12:38 +0200, Michael Straube wrote:
uint rtw_is_cckratesonly_included(u8 *rate)
{
ÂÂÂÂwhile (*rate) {
ÂÂÂÂÂÂÂ u8 r = *rate & 0x7f;
ÂÂÂÂÂÂÂ if (r != 2 && r != 4 && r != 11 && r != 22)
ÂÂÂÂÂÂÂÂÂÂÂ return false;
ÂÂÂÂÂÂÂ rate++;
ÂÂÂÂ}
ÂÂÂÂreturn true;
}
The patch has been added to staging-testing already.
I will send patches with your suggestions the next days.