提交 0a4cf487 编写于 作者: H Hante Meuleman 提交者: John W. Linville

brcmfmac: Put printing action frames code under debug flag.

Reviewed-by: NArend Van Spriel <arend@broadcom.com>
Signed-off-by: NHante Meuleman <meuleman@broadcom.com>
Signed-off-by: NArend van Spriel <arend@broadcom.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 426d0a56
......@@ -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;
......@@ -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.
*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册