]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: wlan-ng: use GENMASK macro in define of p80211netdev.h
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Thu, 10 Nov 2016 18:16:41 +0000 (19:16 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Nov 2016 14:43:19 +0000 (15:43 +0100)
commite49651b836f2be0ee3990a14d555b4d783a03911
treee8fa3a80a2d0569b2e3647be681efa7e8995408a
parent27e8d4609436f8cb9c35f090335c9cd840d4150e
staging: wlan-ng: use GENMASK macro in define of p80211netdev.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 p80211netdev.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/p80211netdev.h