wireless: correct sparse warning in lib80211_crypt_tkip.c
authorJohn W. Linville <linville@tuxdriver.com>
Tue, 20 Jul 2010 16:09:11 +0000 (12:09 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 20 Jul 2010 20:49:36 +0000 (16:49 -0400)
commit3f6ff6bacdec217c98a60910c4804d11ce859820
tree2e789996d2e03e06c1ada336ef6b132d1fbe1cca
parent4f366c5dabcb936dd5754a35188bd699181fe1ce
wireless: correct sparse warning in lib80211_crypt_tkip.c

  CHECK   net/wireless/lib80211_crypt_tkip.c
net/wireless/lib80211_crypt_tkip.c:581:27: warning: cast to restricted __le16

Caused by dereferencing a "u8 *" and passing it to le16_to_cpu...

Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/lib80211_crypt_tkip.c