wireless: iwlwifi: iwl-scan.c: Fix build warning
authorFabio Estevam <festevam@gmail.com>
Mon, 16 Jan 2012 02:47:12 +0000 (00:47 -0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 16 Jan 2012 20:01:16 +0000 (15:01 -0500)
commit331d9301ed4d0fe33e9762c62f2870243bcf77eb
tree3b33f0b9c4703ff52273f03d4e1127e31942d4b4
parent74b8cc3d592e5e884123eb99960a9f064223eaab
wireless: iwlwifi: iwl-scan.c: Fix build warning

Fix the following build warning:

drivers/net/wireless/iwlwifi/iwl-scan.c: In function ‘iwlagn_request_scan’:
drivers/net/wireless/iwlwifi/iwl-scan.c:572: warning: ‘cmd_len’ may be used uninitialized in this function

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-scan.c