projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net: fix assignment of 0/1 to bool variables.
[deliverable/linux.git]
/
drivers
/
net
/
wireless
/
libertas_tf
/
main.c
diff --git
a/drivers/net/wireless/libertas_tf/main.c
b/drivers/net/wireless/libertas_tf/main.c
index ceb51b6e67026bb434c1db67259ffd27129917ff..a03457292c88c1fd5f96eb4ad5a60df671227d91 100644
(file)
--- a/
drivers/net/wireless/libertas_tf/main.c
+++ b/
drivers/net/wireless/libertas_tf/main.c
@@
-719,11
+719,11
@@
void lbtf_bcn_sent(struct lbtf_private *priv)
return;
if (skb_queue_empty(&priv->bc_ps_buf)) {
return;
if (skb_queue_empty(&priv->bc_ps_buf)) {
- bool tx_buff_bc =
0
;
+ bool tx_buff_bc =
false
;
while ((skb = ieee80211_get_buffered_bc(priv->hw, priv->vif))) {
skb_queue_tail(&priv->bc_ps_buf, skb);
while ((skb = ieee80211_get_buffered_bc(priv->hw, priv->vif))) {
skb_queue_tail(&priv->bc_ps_buf, skb);
- tx_buff_bc =
1
;
+ tx_buff_bc =
true
;
}
if (tx_buff_bc) {
ieee80211_stop_queues(priv->hw);
}
if (tx_buff_bc) {
ieee80211_stop_queues(priv->hw);
This page took
0.027497 seconds
and
5
git commands to generate.