]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wlan-ng: use GENMASK macro in different defines of p80211hdr.h
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Thu, 10 Nov 2016 18:16:40 +0000 (19:16 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Nov 2016 14:43:20 +0000 (15:43 +0100)
commit6e7b5f7ec6c616304b8e45413c1390fd16209842
tree606e67be044f0c6f9fcac6f496fed11f2b46325f
parent9660badb769d847eb5aa921f103f1027005d4f0c
staging: wlan-ng: use GENMASK macro in different defines of p80211hdr.h

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 defines included in p80211hdr.h header file.

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