ath9k: Use HW HT capabilites properly
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Tue, 27 Mar 2012 04:38:55 +0000 (10:08 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 28 Mar 2012 18:25:36 +0000 (14:25 -0400)
commita4d6367fa77fb604ce62582e1c0998e0ed098927
treecd1b053200767dedc6da1cf497bddcb9dec2b018
parentca907a90735877ceff800d08f780f2f1b4388afa
ath9k: Use HW HT capabilites properly

The commit "ath9k: Remove aggregation flags" changed how
nodes were being initialized. Use the HW HT cap bits
to initialize/de-initialize nodes, else we would be
accessing an uninitialized entry during a suspend/resume cycle,
resulting in a panic.

Reported-by: Justin P. Mattock <justinmattock@gmail.com>
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/main.c