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>
This commit is contained in:
Stefan Schmidt 2015-05-21 16:51:37 +02:00 committed by Marcel Holtmann
parent f1a71886c5
commit 2d8cbd31dd

View File

@ -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;
}