net: ieee802154: hwsim: Ensure proper channel selection at probe time
[linux-2.6-microblaze.git] / drivers / net / ieee802154 / mac802154_hwsim.c
index 8caa61e..36f1c5a 100644 (file)
@@ -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);