Commit 2892d397 authored by Andreas Schlick's avatar Andreas Schlick Committed by Greg Kroah-Hartman

staging: rtl8723au: Remove unnecessary bit masking.

Signed-off-by: default avatarAndreas Schlick <ninox@posteo.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c5081c54
......@@ -156,8 +156,7 @@ ReadEFuseByte23a(struct rtw_adapter *Adapter, u16 _offset, u8 *pbuf)
/* Check bit 32 read-ready */
retry = 0;
value32 = rtl8723au_read32(Adapter, EFUSE_CTRL);
/* while(!(((value32 >> 24) & 0xff) & 0x80) && (retry<10)) */
while (!(((value32 >> 24) & 0xff) & 0x80) && (retry<10000)) {
while (!((value32 >> 24) & 0x80) && retry < 10000) {
value32 = rtl8723au_read32(Adapter, EFUSE_CTRL);
retry++;
}
......
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