staging: brcm80211: removed global variable in softmac otp
commite429e0b7f4f378333b752cd83a1bd5b7b2e22f63
authorRoland Vossen <rvossen@broadcom.com>
Thu, 29 Sep 2011 22:34:28 +0000 (29 15:34 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 3 Oct 2011 23:12:31 +0000 (3 16:12 -0700)
treeb344665cefd58620644198a50a36eae1cdb76a9a
parent3cfbbacd8179e47d39e21cd2acaf5574d3847dee
staging: brcm80211: removed global variable in softmac otp

Placed variable on the stack instead and deleted unused functions.
Softmac was tested to function properly with multiple adapters in one
system.

Reported-by: Johannes Berg <johannes@sipsolutions.net>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Franky Lin <frankyl@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmsmac/otp.c
drivers/staging/brcm80211/brcmsmac/otp.h