staging: brcm80211: removed compile warning

A warning was generated if CONFIG_BRCMDBG=n. Fixed this by introducing an
function.

Signed-off-by: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Roland Vossen 2011-02-24 12:04:34 +01:00 committed by Greg Kroah-Hartman
parent aa19d8e990
commit 8d9e9d09b7

View file

@ -183,10 +183,11 @@ static int wl_ops_start(struct ieee80211_hw *hw)
static void wl_ops_stop(struct ieee80211_hw *hw)
{
#ifdef BRCMDBG
struct wl_info *wl = hw->priv;
ASSERT(wl);
#endif /*BRCMDBG*/
ieee80211_stop_queues(hw);
return;
}
static int