1
0
Fork 0
alistair23-linux/net/ieee802154
Phoebe Buckheister 1c8272bd18 ieee802154: fix faulty check in set_phy_params api
phy_set_csma_params has a redundant (and impossible) check for
"retries", found by smatch. The check was supposed to be for
frame_retries, but wasn't moved during development when
phy_set_frame_retries was introduced. Also, maxBE >= 3 as required by
the standard is not enforced.

Remove the redundant check, assure max_be >= 3 and check -1 <=
frame_retries <= 7 in the correct function.

Signed-off-by: Phoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-02-18 18:11:05 -05:00
..
6lowpan.c 6lowpan: fix lockdep splats 2014-02-10 17:51:29 -08:00
6lowpan.h 6lowpan: add udp warning for elided checksum 2013-12-17 06:16:48 -08:00
6lowpan_iphc.c net: 6lowpan: fixup for code movement 2014-01-27 16:43:03 -08:00
Kconfig net: move 6lowpan compression code to separate module 2014-01-15 15:36:38 -08:00
Makefile net: move 6lowpan compression code to separate module 2014-01-15 15:36:38 -08:00
af802154.h net: add IEEE 802.15.4 socket family implementation 2009-06-09 05:25:32 -07:00
af_ieee802154.c ieee802154: free skb buffer if dev isn't running 2011-06-30 16:18:09 +04:00
dgram.c net: add build-time checks for msg->msg_name size 2014-01-18 23:04:16 -08:00
ieee802154.h ieee802154: add TX power control to wpan_phy 2014-02-17 16:42:38 -05:00
netlink.c ieee802154: add TX power control to wpan_phy 2014-02-17 16:42:38 -05:00
nl-mac.c genetlink: make multicast groups const, prevent abuse 2013-11-19 16:39:06 -05:00
nl-phy.c ieee802154: fix faulty check in set_phy_params api 2014-02-18 18:11:05 -05:00
nl_policy.c ieee802154: add netlink APIs for smartMAC configuration 2014-02-17 16:42:39 -05:00
raw.c hlist: drop the node parameter from iterators 2013-02-27 19:10:24 -08:00
wpan-class.c ieee802154: add netlink APIs for smartMAC configuration 2014-02-17 16:42:39 -05:00