diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2016-06-09 14:22:12 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2016-06-17 15:34:48 +0000 |
commit | 6b60611a4ddc09855038e953b50bc92b9e0b9a3b (patch) | |
tree | 138effa6655f6d77d16092226a601f4d1d1c3285 /src/common/phy_link.c | |
parent | bc9c42663d17d0ef57a21c2c62b33ce07d40eb54 (diff) |
fix compiler warning: add missing case (PHY_LINK_CONNECTING)
Change-Id: I7979e10551023c1f52f04b4e93ea1706cf0bef39
Diffstat (limited to 'src/common/phy_link.c')
-rw-r--r-- | src/common/phy_link.c | 3 |
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; } } |