tty: ipwireless: Fix probable mask then right shift defects
authorJoe Perches <joe@perches.com>
Mon, 27 Oct 2014 05:25:05 +0000 (22:25 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Nov 2014 04:06:33 +0000 (20:06 -0800)
commit7e041abf79c1b555b9d117d4a319b505ee601f55
tree5e412b550dc16ddaff8cfcf881ca4936988f84e5
parentf0fd1b73b0f3589ff90582fbbb5eedc149caefab
tty: ipwireless: Fix probable mask then right shift defects

Precedence of & and >> is not the same and is not left to right.
shift has higher precedence and should be done after the mask.

Add parentheses around the masks.

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: David Sterba <dsterba@suse.cz>
Reviewed-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/ipwireless/hardware.c