commit | 40e4e6868c532b439754154d69a2837dbf9bd91e | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Mon Mar 05 11:24:22 2012 -0800 |
committer | John W. Linville <linville@tuxdriver.com> | Tue Mar 06 15:16:08 2012 -0500 |
tree | 695900549dc52ed495b7ccc567ea621859903a9f | |
parent | 71cb99241d63b26a41c9cce6ed441bc30f90224a [diff] |
iwlwifi: simplify code in iwlagn_key_sta_id Simplify the code by returning directly in the error case and replacing the switch/if with a single if statement. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>