commit | 8c7ae357cc5b6bd037ad2d666e9f3789cf882925 | [log] [tgz] |
---|---|---|
author | Rajkumar Manoharan <rmanohar@qti.qualcomm.com> | Wed Apr 23 15:07:57 2014 +0530 |
committer | John W. Linville <linville@tuxdriver.com> | Thu Apr 24 21:46:22 2014 -0400 |
tree | a4bce2f031a1ddc0120a5afd58eea55ed2dce55a | |
parent | c82552c5b0cb1735dbcbad78b1ffc6d3c212dc56 [diff] |
ath9k: fix race in setting ATH_OP_INVALID The commit "ath9k: move sc_flags to ath_common" moved setting ATH_OP_INVALID flag below ieee80211_register_hw. This is causing the flag never being cleared randomly as the drv_start is called prior to setting flag. Fix this by setting the flag prior to register_hw. Signed-off-by: Rajkumar Manoharan <rmanohar@qti.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>