|
@@ -99,7 +99,7 @@ static int ath9k_tx99_init(struct ath_softc *sc)
|
|
struct ath_tx_control txctl;
|
|
struct ath_tx_control txctl;
|
|
int r;
|
|
int r;
|
|
|
|
|
|
- if (sc->sc_flags & SC_OP_INVALID) {
|
|
|
|
|
|
+ if (test_bit(SC_OP_INVALID, &sc->sc_flags)) {
|
|
ath_err(common,
|
|
ath_err(common,
|
|
"driver is in invalid state unable to use TX99");
|
|
"driver is in invalid state unable to use TX99");
|
|
return -EINVAL;
|
|
return -EINVAL;
|