[PATCH 12/31] build fix: ds_link should be compared with 0, not NULL

Oleksij Rempel linux at rempel-privat.de
Fri Mar 29 05:01:46 EDT 2013


Signed-off-by: Oleksij Rempel <linux at rempel-privat.de>
---
 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 789725b..62727f4 100755
--- a/target_firmware/wlan/if_ath.c
+++ b/target_firmware/wlan/if_ath.c
@@ -345,7 +345,7 @@ static void ath_uapsd_processtriggers(struct ath_softc_tgt *sc)
 			break;
 		}
 
-		if (ds->ds_link == NULL) {
+		if (ds->ds_link == 0) {
 			break;
 		}
 
-- 
1.8.1.2




More information about the Ath9k_htc_fw mailing list