commit | 046c65946e3d1bbc70282f43c9cd39b1d430640b | [log] [tgz] |
---|---|---|
author | Bjørn Mork <bjorn@mork.no> | Fri May 16 21:48:29 2014 +0200 |
committer | David S. Miller <davem@davemloft.net> | Fri May 16 22:39:02 2014 -0400 |
tree | 72cc86f2980b6865b69473b5980a41e9eb553c9a | |
parent | fa83dbeee55865678025b6c1637ca08860209f87 [diff] |
net: cdc_ncm: do not start timer on an empty skb We can end up with a freshly allocated tx_curr_skb with no frames in it. In this case it does not make any sense to start the timer. This avoids the timer periodically trying to start tx when there is nothing in the queue. Signed-off-by: Bjørn Mork <bjorn@mork.no> Signed-off-by: David S. Miller <davem@davemloft.net>