mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-01-26 00:23:26 +00:00
mtd: disable trx_check() for ar71xx, fixes a regression introduced in r42403
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42405
This commit is contained in:
parent
766dff7445
commit
833c5aab7e
@ -101,6 +101,7 @@ err:
|
||||
return -1;
|
||||
}
|
||||
|
||||
#ifndef target_ar71xx
|
||||
int
|
||||
trx_check(int imagefd, const char *mtd, char *buf, int *len)
|
||||
{
|
||||
@ -141,6 +142,7 @@ trx_check(int imagefd, const char *mtd, char *buf, int *len)
|
||||
close(fd);
|
||||
return 1;
|
||||
}
|
||||
#endif
|
||||
|
||||
int
|
||||
mtd_fixtrx(const char *mtd, size_t offset)
|
||||
|
Loading…
Reference in New Issue
Block a user