]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wlan-ng: use GENMASK macro in two bitwise operations in prism2sta.c
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Thu, 10 Nov 2016 18:16:42 +0000 (19:16 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Nov 2016 14:43:19 +0000 (15:43 +0100)
commit3c90baa72542a1a6ede9c666b9fab3c26827e4ec
treed7171dde39168353fe1bb09db6a787b30650542a
parent4f8e42829aed967f1bba1a645ff2bf253b09c04b
staging: wlan-ng: use GENMASK macro in two bitwise operations in prism2sta.c

This patch replace actual mask stuff using BIT macros with
or operators to make use of GENMASK macro which simplifies
code clearity and readibility.

It applies for two bitwise operations included in prism2sta.c source file.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/prism2sta.c