From: Bob Copeland Date: Fri, 9 Jan 2015 19:15:46 +0000 (-0500) Subject: wcn36xx: use !! when assigning int as a boolean X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~134^2~130^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f786a6d4af92204351a31117c8eeae1a4518b7c6;p=pandora-kernel.git 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 Signed-off-by: Kalle Valo --- Reading git-diff-tree failed