From 2b3817dd42331f38a49ba0519ea0d3e5457ce6d8 Mon Sep 17 00:00:00 2001 From: Oleksij Rempel Date: Tue, 19 Mar 2013 16:05:55 +0100 Subject: [PATCH] build fix: ds_link should be compared with 0, not NULL Signed-off-by: Oleksij Rempel --- target_firmware/wlan/if_ath.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.25.1