On Tue, Jul 27, 2010 at 9:48 PM, Jon Smirl <[email protected]> wrote: > On Tue, Jul 27, 2010 at 9:46 PM, Dmitry Eremin-Solenikov > <[email protected]> wrote: >> Hello, >> >> On Wed, Jul 28, 2010 at 4:33 AM, Jon Smirl <[email protected]> wrote: >>> I didn't make a primary net device, I only created the monitor >>> interface. It looks sdata->list is empty when I try to delete the >>> monitor device. That implies that it was never added to list to begin >>> with. >> >> That's strange as adding sdata to phy list happens rigt after netdev >> is successfully registered by netdev core. > > I was looking in the wrong ieee802154_del_iface() it is the one in nl-phy.c > > Fault is on this line: > phy = ieee802154_mlme_ops(dev)->get_phy(dev);
I have confirmed ieee802154_mlme_ops(dev) is NULL on a monitor device. > > Does a monitor interface have the mlme ops set? > >> >> -- >> With best wishes >> Dmitry >> > > > > -- > Jon Smirl > [email protected] > -- Jon Smirl [email protected] ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://ad.doubleclick.net/clk;226879339;13503038;l? http://clk.atdmt.com/CRS/go/247765532/direct/01/ _______________________________________________ Linux-zigbee-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel
