]> git.baikalelectronics.ru Git - kernel.git/commit
ath6kl: fix uninitialized warning in ath6kl_process_uapsdq()
authorKalle Valo <kvalo@qca.qualcomm.com>
Tue, 17 Jan 2012 13:05:46 +0000 (15:05 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 18 Jan 2012 11:41:13 +0000 (13:41 +0200)
commitdf16b51abc376c8a4cf9a17c524e0235f295bbfe
treeca24cfce177a47c7a0240c5c451b91b16e447d6e
parent18723480fb18597735c511f4da798599746562a1
ath6kl: fix uninitialized warning in ath6kl_process_uapsdq()

Before I commited patch 27c386f4b ("ath6kl: Add support for uAPSD") I
did a minor change how up variable is initialised in
ath6kl_process_uapsdq(). But I was sloppy and caused this compiler
warning:

txrx.c:88:5: warning: 'up' may be used uninitialized in this function

Revert my change to fix the warning.

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/txrx.c