Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 311427
b: refs/heads/master
c: 8a8e28b
h: refs/heads/master
i:
  311425: c233cb6
  311423: 986f016
v: v3
  • Loading branch information
alex.bluesman.smirnov@gmail.com authored and David S. Miller committed Jun 25, 2012
1 parent 5ae4dc5 commit cd6c132
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: aa214de0595eecf5079a172a16333fa638b64915
refs/heads/master: 8a8e28b8e2c27362f24cf06513c05d5e3a304e03
3 changes: 2 additions & 1 deletion trunk/net/mac802154/tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit cd6c132

Please sign in to comment.