mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-04 18:09:57 +00:00
staging: wlan-ng: fix line style issue in macro WLAN_GET_FC_FSTYPE
This patch fix the following checkpatch.pl script warning: WARNING: line over 80 characters It also add spaces between or operators inside the macro to comply with the standard kernel coding style. Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
993403b979
commit
9546780b33
1 changed files with 2 additions and 1 deletions
|
@ -132,7 +132,8 @@
|
|||
/*------------------------------------------------------------*/
|
||||
|
||||
#define WLAN_GET_FC_FTYPE(n) ((((u16)(n)) & (BIT(2) | BIT(3))) >> 2)
|
||||
#define WLAN_GET_FC_FSTYPE(n) ((((u16)(n)) & (BIT(4)|BIT(5)|BIT(6)|BIT(7))) >> 4)
|
||||
#define WLAN_GET_FC_FSTYPE(n) ((((u16)(n)) & \
|
||||
(BIT(4) | BIT(5) | BIT(6) | BIT(7))) >> 4)
|
||||
#define WLAN_GET_FC_TODS(n) ((((u16)(n)) & (BIT(8))) >> 8)
|
||||
#define WLAN_GET_FC_FROMDS(n) ((((u16)(n)) & (BIT(9))) >> 9)
|
||||
#define WLAN_GET_FC_ISWEP(n) ((((u16)(n)) & (BIT(14))) >> 14)
|
||||
|
|
Loading…
Reference in a new issue