Signed-off-by: Jonathan Cameron <[email protected]>
---
 net/mac802154/tx.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/mac802154/tx.c b/net/mac802154/tx.c
index 24c55c9..af1db49 100644
--- a/net/mac802154/tx.c
+++ b/net/mac802154/tx.c
@@ -71,7 +71,7 @@ netdev_tx_t ieee802154_tx(struct ieee802154_priv *priv, 
struct sk_buff *skb,
        struct xmit_work *work;
 
        if (WARN_ON(!(priv->phy->channels_supported[page] &
-                                       (chan))))
+                                       (1 << chan))))
                return NETDEV_TX_OK;
 
        if (!(priv->hw.flags & IEEE802154_HW_OMIT_CKSUM)) {
-- 
1.7.0.4


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Linux-zigbee-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel

Reply via email to