staging: brcm80211: remove code duplication for driver variable lookup