]> err.no Git - linux-2.6/commit
hostap: fix sparse warnings
authorPavel Roskin <proski@gnu.org>
Fri, 27 Jun 2008 20:19:58 +0000 (16:19 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 30 Jun 2008 19:43:52 +0000 (15:43 -0400)
commit1bcca3c463e4930cef9986b05165bb0b3eb46f63
tree4e4ebc7eae4f286d7b20d3c29a1c69a0119c6783
parent15ea0ebc5b7305cc75189cb6b7924d0db5278e0c
hostap: fix sparse warnings

Rewrite AID calculation in handle_pspoll() to avoid truncating bits.
Make hostap_80211_header_parse() static, don't export it.  Avoid
shadowing variables.

Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/hostap/hostap_80211_rx.c
drivers/net/wireless/hostap/hostap_ap.c
drivers/net/wireless/hostap/hostap_cs.c
drivers/net/wireless/hostap/hostap_hw.c
drivers/net/wireless/hostap/hostap_main.c