Skip to content

Commit

Permalink
fix: 修复开机飞行模式被打开
Browse files Browse the repository at this point in the history
变量名写错

Log: 修复插入 USB 蓝牙重启飞行模式被打开
Influence: 飞行模式
Bug: https://pms.uniontech.com/bug-view-122685.html
Change-Id: I343fa696539da7630e4000e416f84976bf71a597
  • Loading branch information
zsien committed Apr 3, 2022
1 parent 9e82312 commit a344602
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/airplane_mode/rfkill.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ func (mgr *Manager) handleRfkillEvent(event *RfkillEvent) {
allSoftBlocked := false
if deviceCnt != 0 {
allBlocked = blockCnt == deviceCnt
allSoftBlocked = softBlockCnt == blockCnt
allSoftBlocked = softBlockCnt == deviceCnt
}

curTypeBlocked := false
Expand Down

0 comments on commit a344602

Please sign in to comment.