diff options
author | Johannes Berg <johannes.berg@intel.com> | 2010-11-30 13:24:36 -0800 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2010-12-13 15:51:33 -0800 |
commit | 9decde95be8a77a16f5668544bee45d41a7ae665 (patch) | |
tree | d5ef30fe7e9e0b03a4d1e9482c75017a26955413 /drivers/net/wireless/iwlwifi/iwl-1000.c | |
parent | ae0b693c12cc78913085733d28e0e0e6020db6f4 (diff) | |
download | linux-9decde95be8a77a16f5668544bee45d41a7ae665.tar.gz linux-9decde95be8a77a16f5668544bee45d41a7ae665.tar.bz2 linux-9decde95be8a77a16f5668544bee45d41a7ae665.zip |
iwlagn: fix debug variable access
The compiler correctly warns:
iwl-agn-tx.c: In function ‘iwlagn_tx_status_reply_compressed_ba’:
iwl-agn-tx.c:1240: warning: ‘bitmap’ may be used uninitialized in this function
Move the debug print to the branch that reads the
bitmap, and move the variables too so it's more
obvious where they are needed.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-1000.c')
0 files changed, 0 insertions, 0 deletions