summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/ieee802154/atusb.c4
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;
}