diff options
author | Stefan Schmidt <s.schmidt@samsung.com> | 2015-05-21 16:51:37 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-05-21 17:52:23 +0200 |
commit | 2d8cbd31dd5d4fe7825e1ab88f39c283849db946 (patch) | |
tree | 05e9861d600391825acb8f2b310e16e0e1457458 /drivers/net/ieee802154 | |
parent | f1a71886c59f1d981d3848c744e617d2f7e4149e (diff) | |
download | linux-2d8cbd31dd5d4fe7825e1ab88f39c283849db946.tar.bz2 |
ieee802154/atusb: Set default ed level to 0xbe like the rest of these 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>
Diffstat (limited to 'drivers/net/ieee802154')
-rw-r--r-- | drivers/net/ieee802154/atusb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ieee802154/atusb.c b/drivers/net/ieee802154/atusb.c index eef1d8aa0269..1e18774240b2 100644 --- a/drivers/net/ieee802154/atusb.c +++ b/drivers/net/ieee802154/atusb.c @@ -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; } |