diff options
author | Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com> | 2012-11-16 07:52:03 -0500 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2012-11-27 14:44:27 -0500 |
commit | 895dc3867705f7622977c8870771e15881b3e421 (patch) | |
tree | b0435d9562aea15ad86b3d7440a20a842b1f3d20 /drivers/net/wireless/ath/ath6kl/htc_pipe.c | |
parent | 050757da5d54d8e25dc06bfbd9179c7d0073137a (diff) |
ath6kl: Use standard way to assign the boolean variable
Assign 'true' to the bool variable instead of needless typecasting.
Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/htc_pipe.c')
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/htc_pipe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/htc_pipe.c b/drivers/net/wireless/ath/ath6kl/htc_pipe.c index ba6bd497b787..575e7d74a5d5 100644 --- a/drivers/net/wireless/ath/ath6kl/htc_pipe.c +++ b/drivers/net/wireless/ath/ath6kl/htc_pipe.c | |||
@@ -1184,7 +1184,7 @@ static void reset_endpoint_states(struct htc_target *target) | |||
1184 | INIT_LIST_HEAD(&ep->pipe.tx_lookup_queue); | 1184 | INIT_LIST_HEAD(&ep->pipe.tx_lookup_queue); |
1185 | INIT_LIST_HEAD(&ep->rx_bufq); | 1185 | INIT_LIST_HEAD(&ep->rx_bufq); |
1186 | ep->target = target; | 1186 | ep->target = target; |
1187 | ep->pipe.tx_credit_flow_enabled = (bool) 1; /* FIXME */ | 1187 | ep->pipe.tx_credit_flow_enabled = true; |
1188 | } | 1188 | } |
1189 | } | 1189 | } |
1190 | 1190 | ||