mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
bcm63xx: fix second caldata address calculation
thanks Noltari for spotting this. SVN-Revision: 32592
This commit is contained in:
parent
988147111c
commit
0c7e676342
@ -33,7 +33,7 @@ contained in flash.
|
||||
+ }
|
||||
+ if (data->caldata[1]) {
|
||||
+ caldatalen2 = cfe_erasesize;
|
||||
+ caldataaddr1 = rounddown(data->caldata[1],
|
||||
+ caldataaddr2 = rounddown(data->caldata[1],
|
||||
+ cfe_erasesize);
|
||||
+ }
|
||||
+ if (caldataaddr1 == caldataaddr2) {
|
||||
|
Loading…
Reference in New Issue
Block a user