Skip to content

Commit

Permalink
staging: brcm80211: Remove flags from wl_is_nonetwork
Browse files Browse the repository at this point in the history
Remove this debug only variable in fullmace driver to avoid compile
warning when BCMDBG is off

Signed-off-by: Franky Lin <frankyl@broadcom.com>
Reviewed-by: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Franky Lin authored and Greg Kroah-Hartman committed Jun 28, 2011
1 parent 3bec7bb commit 1baaacd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -2588,11 +2588,11 @@ static bool wl_is_nonetwork(struct wl_priv *wl, const wl_event_msg_t *e)
{
u32 event = be32_to_cpu(e->event_type);
u32 status = be32_to_cpu(e->status);
u16 flags = be16_to_cpu(e->flags);

if (event == WLC_E_LINK && status == WLC_E_STATUS_NO_NETWORKS) {
WL_CONN("Processing Link %s & no network found\n",
flags & WLC_EVENT_MSG_LINK ? "up" : "down");
be16_to_cpu(e->flags) & WLC_EVENT_MSG_LINK ?
"up" : "down");
return true;
}

Expand Down

0 comments on commit 1baaacd

Please sign in to comment.