adm8211: fix sparse warnings
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 20 Feb 2008 11:06:47 +0000 (12:06 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 29 Feb 2008 20:37:27 +0000 (15:37 -0500)
commite63e3fa7bd4d0dc8cbab5ab7aff84cd37d45295e
tree9c32aedee4cecea4a5d1af64d08f0b029f381372
parentffc7689ddae5cbe12bde437ae0f2b386d568b5cd
adm8211: fix sparse warnings

Both of these seem to be actual errors, the first is just wrong
and the second is my mistake introduced by the cfg80211 API
update.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/adm8211.c