forked from Minki/linux
3f43926f27
The code in 'hci_dat_v1_get_index()' really looks like a hand coded version
of 'for_each_set_bit()', except that a +1 is missing when searching for the
next set bit.
This really looks odd and it seems that it will loop until 'dat_w0_read()'
returns the expected result.
So use 'for_each_set_bit()' instead. It is less verbose and should be more
correct.
Fixes:
|
||
---|---|---|
.. | ||
master | ||
device.c | ||
internals.h | ||
Kconfig | ||
Makefile | ||
master.c |