projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05b64b3
)
[MAC80211]: Check open_count before calling config callback.
author
Michael Buesch
<mb@bu3sch.de>
Mon, 24 Sep 2007 16:41:49 +0000
(18:41 +0200)
committer
David S. Miller
<davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:54:14 +0000
(16:54 -0700)
Also remove the check for ops->config!=NULL, as it can never be NULL.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mac80211/ieee80211.c
patch
|
blob
|
history
diff --git
a/net/mac80211/ieee80211.c
b/net/mac80211/ieee80211.c
index
210319f
..
62877a8
100644
(file)
--- a/
net/mac80211/ieee80211.c
+++ b/
net/mac80211/ieee80211.c
@@
-678,7
+678,7
@@
int ieee80211_hw_config(struct ieee80211_local *local)
local->hw.conf.phymode);
#endif /* CONFIG_MAC80211_VERBOSE_DEBUG */
- if (local->op
s->config
)
+ if (local->op
en_count
)
ret = local->ops->config(local_to_hw(local), &local->hw.conf);
return ret;