From: Oleksij Rempel Date: Tue, 19 Mar 2013 15:05:55 +0000 (+0100) Subject: build fix: ds_link should be compared with 0, not NULL X-Git-Tag: 1.3.2~12^2~19 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2b3817dd42331f38a49ba0519ea0d3e5457ce6d8;p=librecmc%2Fopen-ath9k-htc-firmware.git build fix: ds_link should be compared with 0, not NULL Signed-off-by: Oleksij Rempel --- diff --git a/target_firmware/wlan/if_ath.c b/target_firmware/wlan/if_ath.c index 228f60e..a473718 100755 --- a/target_firmware/wlan/if_ath.c +++ b/target_firmware/wlan/if_ath.c @@ -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; }