ixp4xx: fix MAC parsing and switch (unmanaged) functionality for wrt300nv2 (thank...
[openwrt.git] / target / linux / brcm63xx / patches-2.6.32 / 040-bcm963xx_flashmap.patch
index 4784de7..812e008 100644 (file)
@@ -140,7 +140,7 @@ Signed-off-by: Axel Gembe <ago@bastart.eu.org>
 +              return -ENOMEM;
 +
 +      /* Get the tag */
-+      ret = master->read(master,0x10000,sizeof(struct bcm_tag), &retlen, (void *)buf);
++      ret = master->read(master,master->erasesize,sizeof(struct bcm_tag), &retlen, (void *)buf);
 +      if (retlen != sizeof(struct bcm_tag)){
 +              vfree(buf);
 +              return -EIO;
This page took 0.029323 seconds and 4 git commands to generate.