aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/iwnfw
diff options
context:
space:
mode:
authorWeixie Cui <cuiweixie@gmail.com>2026-03-31 13:51:46 +0000
committerEnji Cooper <ngie@FreeBSD.org>2026-04-01 07:29:46 +0000
commitf3b59bf28504f901f4fcb568004a92c02fa371ed (patch)
treed2693ef8eecd614f9d722da951770ed3e6dccd8b /sys/modules/iwnfw
parentf81c1f4339cd20ea89dad51c0f7d96e0e34313a9 (diff)
bce: Fix SYSCTL_IN error check in bce_sysctl_nvram_write()HEADmain
The condition after SYSCTL_IN was inverted: success (error == 0) returned immediately and skipped the NVRAM write path, while failure fell through. Return only when SYSCTL_IN fails. Signed-off-by: Weixie Cui <cuiweixie@gmail.com> Reviewed-by: ngie Pull-Request: https://github.com/freebsd/freebsd-src/pull/2113
Diffstat (limited to 'sys/modules/iwnfw')
0 files changed, 0 insertions, 0 deletions