projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-6.3/hid-core' into for-linus
[linux-2.6-microblaze.git]
/
net
/
mac80211
/
driver-ops.c
diff --git
a/net/mac80211/driver-ops.c
b/net/mac80211/driver-ops.c
index
d737db4
..
cfb09e4
100644
(file)
--- a/
net/mac80211/driver-ops.c
+++ b/
net/mac80211/driver-ops.c
@@
-392,6
+392,9
@@
int drv_ampdu_action(struct ieee80211_local *local,
might_sleep();
+ if (!sdata)
+ return -EIO;
+
sdata = get_bss_sdata(sdata);
if (!check_sdata_in_driver(sdata))
return -EIO;