Tag: c856197d6e93907c0493bfecb4eb621318028e26

mwifiex: Change variable type to bool

Author: Peter Senna Tschudin <peter.senna@gmail.com> The variables cancel_scan_cmd, enable_data, hs_activate and valid are only assigned the values true and false. Change its type to bool. The simplified semantic patch that find this problem is as follows (http://coccinelle.lip6.fr/): @exists@ type T; identifier b; @@ – T + bool b = …; … when any b = …

Continue reading