kernel-ark/net/ieee802154
Werner Almesberger 56aa091d60 ieee802154/nl-mac.c: make some MLME operations optional
Check for NULL before calling the following operations from "struct
ieee802154_mlme_ops": assoc_req, assoc_resp, disassoc_req, start_req,
and scan_req.

This fixes a current oops where those functions are called but not
implemented. It also updates the documentation to clarify that they
are now optional by design. If a call to an unimplemented function
is attempted, the kernel returns EOPNOTSUPP via netlink.

The following operations are still required: get_phy, get_pan_id,
get_short_addr, and get_dsn.

Note that the places where this patch changes the initialization
of "ret" should not affect the rest of the code since "ret" was
always set (again) before returning its value.

Signed-off-by: Werner Almesberger <werner@almesberger.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-04-08 12:00:16 -04:00
..
6lowpan.c 6lowpan: handle dev_queue_xmit() error code properly 2013-04-07 17:06:44 -04:00
6lowpan.h 6lowpan: lowpan_is_iid_16_bit_compressable() does not detect compressible address correctly 2013-03-26 12:37:55 -04:00
af802154.h
af_ieee802154.c ieee802154: free skb buffer if dev isn't running 2011-06-30 16:18:09 +04:00
dgram.c ieee802154/dgram: Pass source address in dgram_recvmsg 2013-03-27 00:52:06 -04:00
ieee802154.h
Kconfig net/ieee802154: remove depends on CONFIG_EXPERIMENTAL 2013-01-11 11:40:00 -08:00
Makefile IEEE802.15.4: 6LoWPAN basic support 2011-08-24 19:36:06 -07:00
netlink.c netlink: fix the warning introduced by netlink API replacement 2013-03-29 14:44:37 -04:00
nl_policy.c
nl-mac.c ieee802154/nl-mac.c: make some MLME operations optional 2013-04-08 12:00:16 -04:00
nl-phy.c netlink: Rename pid to portid to avoid confusion 2012-09-10 15:30:41 -04:00
raw.c hlist: drop the node parameter from iterators 2013-02-27 19:10:24 -08:00
wpan-class.c driver-core: constify data for class_find_device() 2013-02-06 12:18:56 -08:00