Re: [Linux-zigbee-devel] [PATCH 2/2] net/ieee802154/6lowpan.c: reuse eth_mac_addr()

2012-04-27 Thread Tony Cheneau
Hello, I believe the following patch should not have been applied and should now be reverted. The reason is because eth_mac_addr() is not functionally equivalent to lowpan_set_address() that it replaces: - lowpan_set_address() copies dev->addr_len bytes, where dev->addr_len is set to 8 bytes fo

Re: [Linux-zigbee-devel] Bug when setting the hop limit in 6lowpan.c

2012-04-27 Thread Tony Cheneau
Hi, Here is the patch. I am not too familiar with git, so I do not know if the patch is formatted correctly or not, if not, you can produce your own patch and cc me. The patch was created against the latest version of the net-next (82981930125abfd39d7c8378a9cfdf5e1be2002b at the moment I write

Re: [Linux-zigbee-devel] Bug when setting the hop limit in 6lowpan.c

2012-04-27 Thread Alexander Smirnov
Hi Tony, 27 апреля 2012 г. 1:46 пользователь Tony Cheneau написал: > Hello, > > I'm reading the 6lowpan.c file and I find the following code very odd. > I believe a bug lies in it. I cannot test at the moment because the > serial driver I plan on using does not work with the 6lowpan stack. > > In