wcn36xx: change debug_mask name

debug_mask variable name is commonly used in linux.
This is causing to build error when using wcn36xx as
built in module. As a fix change variable name.

Signed-off-by: Eugene Krasnikov <k.eugene.e@gmail.com>
wcn36xx: do not use test_bit

After running sparse we got couple of warnings on
test_bit function. The problem is that test_bit function
receives position of the bit, but wcn36xx requires
the flag comparison. sparse yields that when calling
test_bit the position of the bit was out of the long boundary.

As a fix compare if flag is set instead of checking bit by
position.

Signed-off-by: Eugene Krasnikov <k.eugene.e@gmail.com>
wcn36xx: fix smatch warning

smatch does not like the fact that return will be
executed after first loop iteration. The right way to
go is to notify mac80211 about missed beacon for
all vifs.

Signed-off-by: Eugene Krasnikov <k.eugene.e@gmail.com>
Merge pull request #125 from KrasnikovEugene/linux_int

Linux int