projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1a7188
)
ieee802154/atusb: Set default ed level to 0xbe like the rest of these drivers
author
Stefan Schmidt
<s.schmidt@samsung.com>
Thu, 21 May 2015 14:51:37 +0000
(16:51 +0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Thu, 21 May 2015 15:52:23 +0000
(17:52 +0200)
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>
drivers/net/ieee802154/atusb.c
patch
|
blob
|
history
diff --git
a/drivers/net/ieee802154/atusb.c
b/drivers/net/ieee802154/atusb.c
index
eef1d8a
..
1e18774
100644
(file)
--- 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 = 0
xbe
;
return 0;
}