projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e500ae5
)
mac80211: fix function pointer check
author
Holger Schurig
<holgerschurig@gmail.com>
Mon, 7 Jun 2010 14:33:49 +0000
(16:33 +0200)
committer
John W. Linville
<linville@tuxdriver.com>
Mon, 7 Jun 2010 18:44:40 +0000
(14:44 -0400)
This makes "iw wlan0 dump survey" work again with
mac80211-based drivers that support it, e.g. ath5k.
Signed-off-by: Holger Schurig <holgerschurig@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/driver-ops.h
patch
|
blob
|
blame
|
history
diff --git
a/net/mac80211/driver-ops.h
b/net/mac80211/driver-ops.h
index 4f2271316650d98f08de2f1c460b4b8fb283d752..9c1da0809160215c4178358f8f17be8c6d774e27 100644
(file)
--- a/
net/mac80211/driver-ops.h
+++ b/
net/mac80211/driver-ops.h
@@
-349,7
+349,7
@@
static inline int drv_get_survey(struct ieee80211_local *local, int idx,
struct survey_info *survey)
{
int ret = -EOPNOTSUPP;
- if (local->ops->
conf_tx
)
+ if (local->ops->
get_survey
)
ret = local->ops->get_survey(&local->hw, idx, survey);
/* trace_drv_get_survey(local, idx, survey, ret); */
return ret;