aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2016-06-09 14:22:12 +0200
committerHarald Welte <laforge@gnumonks.org>2016-06-17 15:34:48 +0000
commit6b60611a4ddc09855038e953b50bc92b9e0b9a3b (patch)
tree138effa6655f6d77d16092226a601f4d1d1c3285
parentbc9c42663d17d0ef57a21c2c62b33ce07d40eb54 (diff)
fix compiler warning: add missing case (PHY_LINK_CONNECTING)
-rw-r--r--src/common/phy_link.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/phy_link.c b/src/common/phy_link.c
index 131fd2cb..43bb31cd 100644
--- a/src/common/phy_link.c
+++ b/src/common/phy_link.c
@@ -71,6 +71,9 @@ void phy_link_state_set(struct phy_link *plink, enum phy_link_state state)
LOGP(DL1C, LOGL_INFO, "trx_set_avail(0)\n");
trx_set_available(trx, 0);
break;
+ case PHY_LINK_CONNECTING:
+ /* nothing to do */
+ break;
}
}