From: Anas Nashif Date: Mon, 5 Nov 2012 19:27:36 +0000 (-0800) Subject: fat bits X-Git-Tag: accepted/tizen/20130503.230016~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f6b38c9c22c040ea696b88c0ef8c9d65bd17f39a;p=platform%2Fupstream%2Fmtools.git fat bits --- diff --git a/fat.c b/fat.c index f6d732e..dba7dac 100644 --- a/fat.c +++ b/fat.c @@ -722,7 +722,7 @@ static int old_fat_read(Fs_t *This, union bootsector *boot, if(check_media_type(This,boot, tot_sectors)) return -1; - if(This->num_clus >= FAT12) { + if(This->num_clus >= FAT12 || config_fat_bits == 16) { set_fat16(This); /* third FAT byte must be 0xff */ if(!mtools_skip_check && readByte(This, 3) != 0xff)