b43: Eliminate compilation warning in b43_op_set_key
authorLarry Finger <Larry.Finger@lwfinger.net>
Wed, 14 Jan 2009 17:15:25 +0000 (11:15 -0600)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 29 Jan 2009 21:00:28 +0000 (16:00 -0500)
commita1d88210955e56f7a0d54ac72747075b683b0850
tree74dd0fb7928f37d3f5a7ad822003b0aa2318c02b
parent07e74348c76368c3d694a06677c200dc8d9b00e8
b43: Eliminate compilation warning in b43_op_set_key

A recent pull from wireless testing generates the following warning:

   CC [M]  drivers/net/wireless/b43/main.o
 drivers/net/wireless/b43/main.c: In function ‘b43_op_set_key’:
 drivers/net/wireless/b43/main.c:3636: warning: pointer type mismatch
 in conditional expression

This fix was suggested by Johannes Berg <johannes@sipsolutions.net>.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/main.c