build fix: ds_link should be compared with 0, not NULL
[open-ath9k-htc-firmware.git] / target_firmware / wlan / if_ath.c
index 228f60ef8269dfacb19ebca72814a63731f9a0b0..a473718e48e113e2f29fe785e60fa1fb31a69181 100755 (executable)
@@ -380,7 +380,7 @@ static void ath_uapsd_processtriggers(struct ath_softc_tgt *sc)
                        break;
                }
 
-               if (ds->ds_link == NULL) {
+               if (ds->ds_link == 0) {
                        break;
                }