Commit cbc570a7 authored by Guilherme Tadashi Maeoka's avatar Guilherme Tadashi Maeoka Committed by Greg Kroah-Hartman

staging: rtl8723bs: os_dep: Fix assignment in if condition

Fix an assignment in if condition.
Signed-off-by: default avatarGuilherme Tadashi Maeoka <gui.maeoka@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 93f6bc73
......@@ -155,7 +155,9 @@ static int retriveFromFile(char *path, u8 *buf, u32 sz)
struct file *fp;
if (path && buf) {
if (0 == (ret =openFile(&fp, path, O_RDONLY, 0))) {
ret = openFile(&fp, path, O_RDONLY, 0);
if (ret == 0) {
DBG_871X("%s openFile path:%s fp =%p\n", __func__, path , fp);
ret =readFile(fp, buf, sz);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment