wcn36xx: use !! when assigning int as a boolean
authorBob Copeland <me@bobcopeland.com>
Fri, 9 Jan 2015 19:15:46 +0000 (14:15 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 23 Jan 2015 17:11:56 +0000 (19:11 +0200)
commitf786a6d4af92204351a31117c8eeae1a4518b7c6
tree24826cba706befeb5b7a558c5ad0cabf331d44f7
parent69a88cc7b164d92b4e397d9505dd4533f95fbc8a
wcn36xx: use !! when assigning int as a boolean

bd->tx_comp is a single bit in a bitfield, so assigning
"info->flags & IEEE80211_TX_CTL_REQ_TX_STATUS" only happens
to work because TX_STATUS is defined to BIT(0); if it were
any other bit this assignment would fail.

Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/wcn36xx/txrx.c