mac80211: incorrect shift direction
authorHarvey Harrison <harvey.harrison@gmail.com>
Sun, 27 Apr 2008 10:48:40 +0000 (03:48 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 1 May 2008 00:34:26 +0000 (20:34 -0400)
commit17f830459d6116ae13dbcfc9d09a406e6717b1a6
tree8723c2773a96b4e15fba6b356de28f8996651d0c
parent636c5d488bc0b349e01cf5bfbf85588134af70a0
mac80211: incorrect shift direction

Looks like  5d2cdcd4e85c5187db30a6b29f79fbbe59f39f78 ("mac80211: get a
TKIP phase key from skb") got the shifts wrong.

Noticed by sparse:
net/mac80211/tkip.c:234:25: warning: right shift by bigger than source value
net/mac80211/tkip.c:235:25: warning: right shift by bigger than source value
net/mac80211/tkip.c:236:25: warning: right shift by bigger than source value

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/tkip.c