mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 06:08:08 +00:00
fix wrong refresh on flashmap patch
SVN-Revision: 21094
This commit is contained in:
parent
17049cf4ce
commit
41836b16bb
@ -140,7 +140,7 @@ Signed-off-by: Axel Gembe <ago@bastart.eu.org>
|
||||
+ return -ENOMEM;
|
||||
+
|
||||
+ /* Get the tag */
|
||||
+ ret = master->read(master,master->erasesize,sizeof(struct bcm_tag), &retlen, (void *)buf);
|
||||
+ ret = master->read(master,0x10000,sizeof(struct bcm_tag), &retlen, (void *)buf);
|
||||
+ if (retlen != sizeof(struct bcm_tag)){
|
||||
+ vfree(buf);
|
||||
+ return -EIO;
|
||||
|
Loading…
Reference in New Issue
Block a user