提交 7c4bafe9 编写于 作者: L Leo Kim 提交者: Greg Kroah-Hartman

staging: wilc1000: rename EnableTCPAckFilter variable

This patch rename the EnableTCPAckFilter variable to enabled
to avoid CamelCase naming convention.
Signed-off-by: NLeo Kim <leo.kim@atmel.com>
Signed-off-by: NGlen Lee <glen.lee@atmel.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 442eda4e
......@@ -389,16 +389,16 @@ static int wilc_wlan_txq_filter_dup_tcp_ack(struct net_device *dev)
}
#endif
bool EnableTCPAckFilter = false;
bool enabled = false;
void Enable_TCP_ACK_Filter(bool value)
{
EnableTCPAckFilter = value;
enabled = value;
}
bool is_TCP_ACK_Filter_Enabled(void)
{
return EnableTCPAckFilter;
return enabled;
}
static int wilc_wlan_txq_add_cfg_pkt(u8 *buffer, u32 buffer_size)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册