projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: ieee802154: hwsim: Ensure proper channel selection at probe time
[linux-2.6-microblaze.git]
/
drivers
/
net
/
ieee802154
/
mac802154_hwsim.c
diff --git
a/drivers/net/ieee802154/mac802154_hwsim.c
b/drivers/net/ieee802154/mac802154_hwsim.c
index
8caa61e
..
36f1c5a
100644
(file)
--- a/
drivers/net/ieee802154/mac802154_hwsim.c
+++ b/
drivers/net/ieee802154/mac802154_hwsim.c
@@
-786,6
+786,7
@@
static int hwsim_add_one(struct genl_info *info, struct device *dev,
goto err_pib;
}
+ pib->channel = 13;
rcu_assign_pointer(phy->pib, pib);
phy->idx = idx;
INIT_LIST_HEAD(&phy->edges);