diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-09-10 06:20:36 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-09-26 19:13:37 (GMT) |
commit | 5bb4101bc93a23dfcac508994378e975702e1abd (patch) | |
tree | 3a2f6e2438a23f7146f3abab23e0ee4398a23169 | |
parent | 38e05a0e5267ff3a433f3b83ec1c18a93722e9d5 (diff) | |
download | linux-5bb4101bc93a23dfcac508994378e975702e1abd.tar.xz |
net: ath9k: Use NULL instead of false
The function returns a pointer. Hence return NULL instead of false.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/ath/ath9k/dfs_pri_detector.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/dfs_pri_detector.c b/drivers/net/wireless/ath/ath9k/dfs_pri_detector.c index 5ba4b6f..c718fc3 100644 --- a/drivers/net/wireless/ath/ath9k/dfs_pri_detector.c +++ b/drivers/net/wireless/ath/ath9k/dfs_pri_detector.c @@ -392,7 +392,7 @@ static struct pri_sequence *pri_detector_add_pulse(struct pri_detector *de, if (!pseq_handler_create_sequences(de, ts, max_updated_seq)) { pri_detector_reset(de, ts); - return false; + return NULL; } ps = pseq_handler_check_detection(de); |