staging: brcm80211: fix checkpatch error 'assignment in if condition'
Signed-off-by: Jason Cooper <jason@lakedaemon.net> Acked-by: Henry Ptasinski <henryp@broadcom.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
b229fad289
commit
eb7f37b3d5
1 changed files with 2 additions and 1 deletions
|
@ -543,7 +543,8 @@ void sb_core_reset(si_t *sih, uint32 bits, uint32 resetbits)
|
|||
if (R_SBREG(sii, &sb->sbtmstatehigh) & SBTMH_SERR)
|
||||
W_SBREG(sii, &sb->sbtmstatehigh, 0);
|
||||
|
||||
if ((dummy = R_SBREG(sii, &sb->sbimstate)) & (SBIM_IBE | SBIM_TO))
|
||||
dummy = R_SBREG(sii, &sb->sbimstate);
|
||||
if (dummy & (SBIM_IBE | SBIM_TO))
|
||||
AND_SBREG(sii, &sb->sbimstate, ~(SBIM_IBE | SBIM_TO));
|
||||
|
||||
/* clear reset and allow it to propagate throughout the core */
|
||||
|
|
Loading…
Add table
Reference in a new issue