From 662a2c42fd0fb48557028e43ddc4b279ecb88386 Mon Sep 17 00:00:00 2001 From: Dmitry Baryshkov Date: Fri, 7 Aug 2009 02:58:45 +0000 Subject: [PATCH] --- yaml --- r: 159455 b: refs/heads/master c: 798c752b815bd80653dc48b6ffb8eb68ede15a66 h: refs/heads/master i: 159453: 5e6bc1c061d855fc103cd00fb9a81687296a30d9 159451: dbce297f3d62913dd07731676e470cb36b89c6ae 159447: c5bfb1c28ed42a738416dae519b0ee9c104ae3ff 159439: 378f35978e1c5ed93fc910be72b0337407b5c496 159423: 64c5b3ac2833c7f9a907c680ab3146b38789d3d6 v: v3 --- [refs] | 2 +- trunk/drivers/ieee802154/fakehard.c | 8 ++------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/[refs] b/[refs] index 4892e46d6505..61be1f7cdae0 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: acb8aacda3f0bc3aeb652f4365c078a2b0adb0bf +refs/heads/master: 798c752b815bd80653dc48b6ffb8eb68ede15a66 diff --git a/trunk/drivers/ieee802154/fakehard.c b/trunk/drivers/ieee802154/fakehard.c index c94d2c24c352..262536fae905 100644 --- a/trunk/drivers/ieee802154/fakehard.c +++ b/trunk/drivers/ieee802154/fakehard.c @@ -177,18 +177,14 @@ static int fake_disassoc_req(struct net_device *dev, * * Note: This is in section 7.5.2.3 of the IEEE 802.15.4-2006 * document, with 7.3.8 describing coordinator realignment. - * - * Note: There is currently no way to notify the coordinator userland - * program of whether or not the PAN has started successfully. As - * such, the coordinator program cannot know when the MAC has - * completed starting the network and will simply have to assume - * completeness based on some form of time delay. */ static int fake_start_req(struct net_device *dev, struct ieee802154_addr *addr, u8 channel, u8 bcn_ord, u8 sf_ord, u8 pan_coord, u8 blx, u8 coord_realign) { + /* We don't emulate beacons here at all, so START should fail */ + ieee802154_nl_start_confirm(dev, IEEE802154_INVALID_PARAMETER); return 0; }