b43: Fix sparse warning in hw-tkip code
authorMichael Buesch <mb@bu3sch.de>
Sun, 6 Sep 2009 14:18:58 +0000 (16:18 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 9 Sep 2009 15:18:54 +0000 (11:18 -0400)
commitcde1b55b43b71cabb1a94278a809bca21b9df791
treec5a58a99108f2706ac313aee64a386e589e9231c
parentb0544eb6019a33e836141156a8fbe74a9f8367b4
b43: Fix sparse warning in hw-tkip code

This fixes a sparse warning in the hardware-TKIP code:

drivers/net/wireless/b43/xmit.c:272:18: warning: incorrect type in assignment (different base types)
drivers/net/wireless/b43/xmit.c:272:18:    expected unsigned short [unsigned] [short] <noident>
drivers/net/wireless/b43/xmit.c:272:18:    got restricted unsigned short [usertype] <noident>

The code should work correctly with and without this patch applied.

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/xmit.c