diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2007-02-09 09:24:46 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-02-11 02:19:36 -0500 |
commit | 642656518b2e64fd59d9bbd15b6885cac5fe99b1 (patch) | |
tree | c52aec4941ba4ef5996675fd738bcb39ef438f84 /net/ieee80211/softmac/ieee80211softmac_event.c | |
parent | 03d52d7cfcc7dec2b251f5b02c0638f952ff5d65 (diff) |
[NET] IEEE80211: Fix whitespace errors.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ieee80211/softmac/ieee80211softmac_event.c')
-rw-r--r-- | net/ieee80211/softmac/ieee80211softmac_event.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/net/ieee80211/softmac/ieee80211softmac_event.c b/net/ieee80211/softmac/ieee80211softmac_event.c index b9015656cfb3..b3e33a4d4869 100644 --- a/net/ieee80211/softmac/ieee80211softmac_event.c +++ b/net/ieee80211/softmac/ieee80211softmac_event.c | |||
@@ -79,7 +79,7 @@ ieee80211softmac_notify_callback(struct work_struct *work) | |||
79 | container_of(work, struct ieee80211softmac_event, work.work); | 79 | container_of(work, struct ieee80211softmac_event, work.work); |
80 | struct ieee80211softmac_event event = *pevent; | 80 | struct ieee80211softmac_event event = *pevent; |
81 | kfree(pevent); | 81 | kfree(pevent); |
82 | 82 | ||
83 | event.fun(event.mac->dev, event.event_type, event.context); | 83 | event.fun(event.mac->dev, event.event_type, event.context); |
84 | } | 84 | } |
85 | 85 | ||
@@ -92,14 +92,14 @@ ieee80211softmac_notify_internal(struct ieee80211softmac_device *mac, | |||
92 | 92 | ||
93 | if (event < -1 || event > IEEE80211SOFTMAC_EVENT_LAST) | 93 | if (event < -1 || event > IEEE80211SOFTMAC_EVENT_LAST) |
94 | return -ENOSYS; | 94 | return -ENOSYS; |
95 | 95 | ||
96 | if (!fun) | 96 | if (!fun) |
97 | return -EINVAL; | 97 | return -EINVAL; |
98 | 98 | ||
99 | eventptr = kmalloc(sizeof(struct ieee80211softmac_event), gfp_mask); | 99 | eventptr = kmalloc(sizeof(struct ieee80211softmac_event), gfp_mask); |
100 | if (!eventptr) | 100 | if (!eventptr) |
101 | return -ENOMEM; | 101 | return -ENOMEM; |
102 | 102 | ||
103 | eventptr->event_type = event; | 103 | eventptr->event_type = event; |
104 | INIT_DELAYED_WORK(&eventptr->work, ieee80211softmac_notify_callback); | 104 | INIT_DELAYED_WORK(&eventptr->work, ieee80211softmac_notify_callback); |
105 | eventptr->fun = fun; | 105 | eventptr->fun = fun; |
@@ -122,7 +122,7 @@ ieee80211softmac_notify_gfp(struct net_device *dev, | |||
122 | 122 | ||
123 | if (event < 0 || event > IEEE80211SOFTMAC_EVENT_LAST) | 123 | if (event < 0 || event > IEEE80211SOFTMAC_EVENT_LAST) |
124 | return -ENOSYS; | 124 | return -ENOSYS; |
125 | 125 | ||
126 | return ieee80211softmac_notify_internal(mac, event, NULL, fun, context, gfp_mask); | 126 | return ieee80211softmac_notify_internal(mac, event, NULL, fun, context, gfp_mask); |
127 | } | 127 | } |
128 | EXPORT_SYMBOL_GPL(ieee80211softmac_notify_gfp); | 128 | EXPORT_SYMBOL_GPL(ieee80211softmac_notify_gfp); |
@@ -133,7 +133,7 @@ ieee80211softmac_call_events_locked(struct ieee80211softmac_device *mac, int eve | |||
133 | { | 133 | { |
134 | struct ieee80211softmac_event *eventptr, *tmp; | 134 | struct ieee80211softmac_event *eventptr, *tmp; |
135 | struct ieee80211softmac_network *network; | 135 | struct ieee80211softmac_network *network; |
136 | 136 | ||
137 | if (event >= 0) { | 137 | if (event >= 0) { |
138 | union iwreq_data wrqu; | 138 | union iwreq_data wrqu; |
139 | int we_event; | 139 | int we_event; |