]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6165094f2503fe990f0f6517bc98861c434060d9
tree8723c2773a96b4e15fba6b356de28f8996651d0c
parent5cac96bc2d5bc217b31b0ebf847fb2eca00ecf24
mac80211: incorrect shift direction

Looks like  72f8d7e8b93cb83f5d1b3ab64e020a37e3db7e60 ("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