Skip to content

Commit

Permalink
ieee802154/atusb: Set default ed level to 0xbe like the rest of these…
Browse files Browse the repository at this point in the history
… drivers

Signed-off-by: Stefan Schmidt <stefan@osg.samsung.com>
Acked-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
  • Loading branch information
Stefan Schmidt authored and Marcel Holtmann committed May 21, 2015
1 parent f1a7188 commit 2d8cbd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/ieee802154/atusb.c
Original file line number Diff line number Diff line change
Expand Up @@ -365,8 +365,8 @@ static int atusb_channel(struct ieee802154_hw *hw, u8 page, u8 channel)

static int atusb_ed(struct ieee802154_hw *hw, u8 *level)
{
/* @@@ not used by the stack yet */
*level = 0;
BUG_ON(!level);
*level = 0xbe;
return 0;
}

Expand Down

0 comments on commit 2d8cbd3

Please sign in to comment.