summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--proto_80211_mac_hdr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto_80211_mac_hdr.c b/proto_80211_mac_hdr.c
index cc5c26e..33cf8a9 100644
--- a/proto_80211_mac_hdr.c
+++ b/proto_80211_mac_hdr.c
@@ -3385,8 +3385,8 @@ static const char *mgt_sub(u8 subtype, struct pkt_buff *pkt,
const char *dst, *src, *bssid;
mgmt = (struct ieee80211_mgmt *) pkt_pull(pkt, sizeof(*mgmt));
- if (mgmt == NULL)
- return 0;
+ if (!mgmt)
+ return NULL;
dst = lookup_vendor((mgmt->da[0] << 16) |
(mgmt->da[1] << 8) |
ation/devicetree/bindings?id=e80dac114c63dd54398c3c785a6431622c320e87&id2=a50094a4813443a7ca605f86019061905ba697c4'>diff)parent083d5ad1a924e79ecf92be37cce9f1efa5c1d240 (diff)
Merge tag 'usb-4.7-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
Pull USB fixes from Greg KH: "Here are a bunch (65) of USB fixes for 4.7-rc4. Sorry about the quantity, I've been slow in getting these out. The majority are the "normal" gadget, musb, and xhci fixes, that we all are used to. There are also a few other tiny fixes resolving a number of reported issues that showed up in 4.7-rc1. All of these have been in linux-next" * tag 'usb-4.7-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (65 commits) usbip: rate limit get_frame_number message usb: musb: sunxi: Remove bogus "Frees glue" comment usb: musb: sunxi: Fix NULL ptr deref when gadget is registered before musb usb: echi-hcd: Add ehci_setup check before echi_shutdown usb: host: ehci-msm: Conditionally call ehci suspend/resume MAINTAINERS: Add file patterns for usb device tree bindings usb: host: ehci-tegra: Avoid getting the same reset twice usb: host: ehci-tegra: Grab the correct UTMI pads reset USB: mos7720: delete parport USB: OHCI: Don't mark EDs as ED_OPER if scheduling fails phy: ti-pipe3: Program the DPLL even if it was already locked usb: musb: Stop bulk endpoint while queue is rotated usb: musb: Ensure rx reinit occurs for shared_fifo endpoints usb: musb: host: correct cppi dma channel for isoch transfer usb: musb: only restore devctl when session was set in backup usb: phy: Check initial state for twl6030 usb: musb: Use normal module_init for 2430 glue usb: musb: Remove pm_runtime_set_irq_safe usb: musb: Remove extra PM runtime calls from 2430 glue layer usb: musb: Return error value from musb_mailbox ...
Diffstat (limited to 'Documentation/devicetree/bindings')