[lkml]   [2016]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] rndis_host: Set random MAC for ZTE MF910
Hi Bjørn,

On Thu, Jul 14, 2016 at 12:23 AM, Bjørn Mork <> wrote:
> Or how about the more generic?:
> if (bp[0] & 0x02)
> eth_hw_addr_random(net);
> else
> ether_addr_copy(net->dev_addr, bp);
> That would catch similar screwups from other vendors too.

Great idea, thanks. After submitting the patch I found some other
devices with a similar bug, and there are probably even more out
there. I will update patch and resubmit.


 \ /
  Last update: 2016-07-14 10:41    [W:0.080 / U:34.564 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site