libertas: correct sparse warnings
authorJohn W. Linville <linville@tuxdriver.com>
Wed, 15 Sep 2010 19:40:12 +0000 (15:40 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 16 Sep 2010 19:46:04 +0000 (15:46 -0400)
commit65a602dd536ce45814a118322a393b956ea797fb
tree19e86063e1a272aa539981ae64f8645c099bb550
parent9bad82b8ae0e96483507e09463d8520bcfa78cc3
libertas: correct sparse warnings

  CHECK   drivers/net/wireless/libertas/cfg.c
drivers/net/wireless/libertas/cfg.c:493:19: warning: cast to restricted __le16
  CHECK   drivers/net/wireless/libertas/mesh.c
drivers/net/wireless/libertas/mesh.c:577:16: warning: incorrect type in assignment (different base types)
drivers/net/wireless/libertas/mesh.c:577:16:    expected restricted __le32 [addressable] [assigned] [usertype] id
drivers/net/wireless/libertas/mesh.c:577:16:    got bool

Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/cfg.c
drivers/net/wireless/libertas/mesh.c