From: Stefan Schmidt Date: Thu, 21 May 2015 14:51:37 +0000 (+0200) Subject: ieee802154/atusb: Set default ed level to 0xbe like the rest of these drivers X-Git-Tag: v4.9.8~4072^2~183^2~22 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2d8cbd31dd5d4fe7825e1ab88f39c283849db946;p=platform%2Fkernel%2Flinux-rpi3.git ieee802154/atusb: Set default ed level to 0xbe like the rest of these drivers Signed-off-by: Stefan Schmidt Acked-by: Alexander Aring Signed-off-by: Marcel Holtmann --- diff --git a/drivers/net/ieee802154/atusb.c b/drivers/net/ieee802154/atusb.c index eef1d8a..1e18774 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; }