]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: fix some debugfs output
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 29 Oct 2014 15:48:05 +0000 (18:48 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 30 Oct 2014 19:00:22 +0000 (15:00 -0400)
commitc31b1b4dffee77a9506572a4bbffe6605560d6c6
tree5ccc275e776b00013de009e797e12e1c4145bfea
parent727e493e87cd0cf51e0f1d42e191f21f34807371
ath9k: fix some debugfs output

The right shift operation has higher precedence than the mask so we
left shift by "(i * 3)" and then immediately right shift by "(i * 3)"
then we mask.  It should be left shift, mask, and then right shift.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/debug.c