diff options
| author | Stanislaw Gruszka <[email protected]> | 2012-03-07 09:52:24 -0800 |
|---|---|---|
| committer | John W. Linville <[email protected]> | 2012-03-08 13:59:50 -0500 |
| commit | bfe4b80e9f7385f34986736cdc094be56782109a (patch) | |
| tree | 29b1335d3045834bcbb5d23d53a4b212ef9355e0 /tools/perf/scripts/python | |
| parent | aa5affbacb24cb5d8fd6f7c66e57d62164ed6d34 (diff) | |
iwlwifi: always check if got h/w access before write
Before we write to the device registers always check if
iwl_grap_nic_access() was successful.
On the way change return type of grab_nic_access() to bool, and add
likely()/unlikely() statement.
Signed-off-by: Stanislaw Gruszka <[email protected]>
Signed-off-by: Johannes Berg <[email protected]>
Signed-off-by: Wey-Yi Guy <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions