diff options
author | alex.bluesman.smirnov@gmail.com <alex.bluesman.smirnov@gmail.com> | 2012-06-25 07:30:13 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-06-26 03:35:30 +0400 |
commit | 8a8e28b8e2c27362f24cf06513c05d5e3a304e03 (patch) | |
tree | 5ce65385245efb27e0e9e90480dfd3c90871f17f | |
parent | aa214de0595eecf5079a172a16333fa638b64915 (diff) | |
download | linux-8a8e28b8e2c27362f24cf06513c05d5e3a304e03.tar.xz |
mac802154: add missed braces
Add missed braces after 'if' operator.
Signed-off-by: Alexander Smirnov <alex.bluesman.smirnov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/mac802154/tx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac802154/tx.c b/net/mac802154/tx.c index 8781d8f904d9..434b6873b352 100644 --- a/net/mac802154/tx.c +++ b/net/mac802154/tx.c @@ -83,9 +83,10 @@ netdev_tx_t mac802154_tx(struct mac802154_priv *priv, struct sk_buff *skb, { struct xmit_work *work; - if (!(priv->phy->channels_supported[page] & (1 << chan))) + if (!(priv->phy->channels_supported[page] & (1 << chan))) { WARN_ON(1); return NETDEV_TX_OK; + } if (!(priv->hw.flags & IEEE802154_HW_OMIT_CKSUM)) { u16 crc = crc_ccitt(0, skb->data, skb->len); |