projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c55aa9
)
[MAC80211]: fix preamble setting
author
Johannes Berg
<
[email protected]
>
Tue, 28 Aug 2007 21:01:55 +0000
(17:01 -0400)
committer
David S. Miller
<
[email protected]
>
Wed, 10 Oct 2007 23:48:55 +0000
(16:48 -0700)
It looks like in commit
28487a90
the condition was unintentionally
negated by moving some code, fix it.
Signed-off-by: Johannes Berg <
[email protected]
>
Cc: Daniel Drake <
[email protected]
>
Acked-by: Michael Wu <
[email protected]
>
Signed-off-by: John W. Linville <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
net/mac80211/ieee80211_ioctl.c
patch
|
blob
|
history
diff --git
a/net/mac80211/ieee80211_ioctl.c
b/net/mac80211/ieee80211_ioctl.c
index 8296e7de12c7a7cffcd7efe07afa7c5f2704cad9..d48f3aa30e306aa6f39d73fd8f4f3a3dffa68da3 100644
(file)
--- a/
net/mac80211/ieee80211_ioctl.c
+++ b/
net/mac80211/ieee80211_ioctl.c
@@
-821,7
+821,7
@@
static int ieee80211_ioctl_prism2_param(struct net_device *dev,
break;
case PRISM2_PARAM_PREAMBLE:
- if (sdata->type
!
= IEEE80211_IF_TYPE_AP) {
+ if (sdata->type
=
= IEEE80211_IF_TYPE_AP) {
if (value)
sdata->flags |= IEEE80211_SDATA_SHORT_PREAMBLE;
else