Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 352620
b: refs/heads/master
c: 0a4cf48
h: refs/heads/master
v: v3
  • Loading branch information
Hante Meuleman authored and John W. Linville committed Feb 8, 2013
1 parent 4f187fb commit 238326d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 426d0a562945f9e0391bf685940dfad01e1200dc
refs/heads/master: 0a4cf487ffdc3a4e7b55e538cd05ef63539a9c20
11 changes: 11 additions & 0 deletions trunk/drivers/net/wireless/brcm80211/brcmfmac/p2p.c
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,9 @@ static bool brcmf_p2p_is_gas_action(void *frame, u32 frame_len)
*
* Print information about the p2p action frame
*/

#ifdef DEBUG

static void brcmf_p2p_print_actframe(bool tx, void *frame, u32 frame_len)
{
struct brcmf_p2p_pub_act_frame *pact_frm;
Expand Down Expand Up @@ -404,6 +407,14 @@ static void brcmf_p2p_print_actframe(bool tx, void *frame, u32 frame_len)
}
}

#else

static void brcmf_p2p_print_actframe(bool tx, void *frame, u32 frame_len)
{
}

#endif

/**
* brcmf_p2p_set_firmware() - prepare firmware for peer-to-peer operation.
*
Expand Down

0 comments on commit 238326d

Please sign in to comment.