1
0
Fork 0

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>
steinar/wifi_calib_4_9_kernel
Stefan Schmidt 2015-05-21 16:51:37 +02:00 committed by Marcel Holtmann
parent f1a71886c5
commit 2d8cbd31dd
1 changed files with 2 additions and 2 deletions

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