staging: brcm80211: use local variable for socitype during ai_scan
commit98034c4c370cf904f529d28d8b505d13d007f7a9
authorArend van Spriel <arend@broadcom.com>
Tue, 3 May 2011 09:35:48 +0000 (3 11:35 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 3 May 2011 19:42:43 +0000 (3 12:42 -0700)
tree853a5e6df6efe449b2e9beed49eef44ba2b71d91
parent97a18a6b7db2843a40a37ab1f6d76c6ea9617ee6
staging: brcm80211: use local variable for socitype during ai_scan

The SOC interface type is only needed to verify that we are accessing
a chip with AMBA AXI interconnect during ai_scan function. Therefor
this can be done with a local variable.

Cc: devel@linuxdriverproject.org
Cc: linux-wireless@vger.kernel.org
Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmsmac/aiutils.c