Compiler output is the same but "!=" is a bit more obvious. Signed-off-by: Bob Copeland <me@xxxxxxxxxxxxxxx> --- drivers/staging/cw1200/sta.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/staging/cw1200/sta.c b/drivers/staging/cw1200/sta.c index cc9ed7b..42bca38 100644 --- a/drivers/staging/cw1200/sta.c +++ b/drivers/staging/cw1200/sta.c @@ -581,7 +581,7 @@ void cw1200_configure_filter(struct ieee80211_hw *dev, (FIF_BCN_PRBRESP_PROMISC | FIF_PROMISC_IN_BSS | FIF_PROBE_REQ)) ? 1 : 0; - if (priv->listening ^ listening) { + if (priv->listening != listening) { priv->listening = listening; wsm_lock_tx(priv); cw1200_update_listening(priv, listening); -- 1.7.6 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html