Commit dd275fc
fix(driver/apdu/pcsc): broke device select logic (#414)
* Fix condition to check part_name in reader
* Refactor condition to simplify reader check
* cleanup skip on reader id and/or name mismatch
* Refactor condition with suggestions from the PR
* Refactor condition so the ignored reader names are only checked if no reader name was provided via env var
* Update driver/apdu/pcsc.c
Co-authored-by: Coelacanthus <uwu@coelacanthus.name>
* Format code via clang-format
---------
Co-authored-by: Coelacanthus <uwu@coelacanthus.name>1 parent cc60e61 commit dd275fc
1 file changed
+15
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| 118 | + | |
118 | 119 | | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
123 | 132 | | |
| 133 | + | |
124 | 134 | | |
125 | 135 | | |
126 | 136 | | |
127 | 137 | | |
128 | 138 | | |
129 | 139 | | |
| 140 | + | |
130 | 141 | | |
131 | 142 | | |
132 | 143 | | |
| |||
0 commit comments