diff options
author | Pavel Roskin <proski@gnu.org> | 2011-07-13 11:19:57 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-07-15 13:38:31 -0400 |
commit | 933d594313a5928ffc5325d7bbb6e2383d79622e (patch) | |
tree | 08467734948e6969a7839fa066cb5b5fa27262bb /drivers/net/wireless/orinoco/orinoco.h | |
parent | 16c929df0895e6f52f4a0f17683d709f5fef95d8 (diff) |
orinoco: minor fixes for problems found by checkpatch.pl
Eliminate spaces before tabs. Eliminate typedefs. Add spaces around
operators.
Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/orinoco/orinoco.h')
-rw-r--r-- | drivers/net/wireless/orinoco/orinoco.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/net/wireless/orinoco/orinoco.h b/drivers/net/wireless/orinoco/orinoco.h index 255710ef082a..3bb936b9558c 100644 --- a/drivers/net/wireless/orinoco/orinoco.h +++ b/drivers/net/wireless/orinoco/orinoco.h | |||
@@ -49,11 +49,11 @@ enum orinoco_alg { | |||
49 | ORINOCO_ALG_TKIP | 49 | ORINOCO_ALG_TKIP |
50 | }; | 50 | }; |
51 | 51 | ||
52 | typedef enum { | 52 | enum fwtype { |
53 | FIRMWARE_TYPE_AGERE, | 53 | FIRMWARE_TYPE_AGERE, |
54 | FIRMWARE_TYPE_INTERSIL, | 54 | FIRMWARE_TYPE_INTERSIL, |
55 | FIRMWARE_TYPE_SYMBOL | 55 | FIRMWARE_TYPE_SYMBOL |
56 | } fwtype_t; | 56 | }; |
57 | 57 | ||
58 | struct firmware; | 58 | struct firmware; |
59 | 59 | ||
@@ -88,11 +88,11 @@ struct orinoco_private { | |||
88 | struct iw_statistics wstats; | 88 | struct iw_statistics wstats; |
89 | 89 | ||
90 | /* Hardware control variables */ | 90 | /* Hardware control variables */ |
91 | hermes_t hw; | 91 | struct hermes hw; |
92 | u16 txfid; | 92 | u16 txfid; |
93 | 93 | ||
94 | /* Capabilities of the hardware/firmware */ | 94 | /* Capabilities of the hardware/firmware */ |
95 | fwtype_t firmware_type; | 95 | enum fwtype firmware_type; |
96 | int ibss_port; | 96 | int ibss_port; |
97 | int nicbuf_size; | 97 | int nicbuf_size; |
98 | u16 channel_mask; | 98 | u16 channel_mask; |
@@ -122,8 +122,8 @@ struct orinoco_private { | |||
122 | struct key_params keys[ORINOCO_MAX_KEYS]; | 122 | struct key_params keys[ORINOCO_MAX_KEYS]; |
123 | 123 | ||
124 | int bitratemode; | 124 | int bitratemode; |
125 | char nick[IW_ESSID_MAX_SIZE+1]; | 125 | char nick[IW_ESSID_MAX_SIZE + 1]; |
126 | char desired_essid[IW_ESSID_MAX_SIZE+1]; | 126 | char desired_essid[IW_ESSID_MAX_SIZE + 1]; |
127 | char desired_bssid[ETH_ALEN]; | 127 | char desired_bssid[ETH_ALEN]; |
128 | int bssid_fixed; | 128 | int bssid_fixed; |
129 | u16 frag_thresh, mwo_robust; | 129 | u16 frag_thresh, mwo_robust; |
@@ -197,8 +197,8 @@ extern int orinoco_up(struct orinoco_private *priv); | |||
197 | extern void orinoco_down(struct orinoco_private *priv); | 197 | extern void orinoco_down(struct orinoco_private *priv); |
198 | extern irqreturn_t orinoco_interrupt(int irq, void *dev_id); | 198 | extern irqreturn_t orinoco_interrupt(int irq, void *dev_id); |
199 | 199 | ||
200 | extern void __orinoco_ev_info(struct net_device *dev, hermes_t *hw); | 200 | extern void __orinoco_ev_info(struct net_device *dev, struct hermes *hw); |
201 | extern void __orinoco_ev_rx(struct net_device *dev, hermes_t *hw); | 201 | extern void __orinoco_ev_rx(struct net_device *dev, struct hermes *hw); |
202 | 202 | ||
203 | int orinoco_process_xmit_skb(struct sk_buff *skb, | 203 | int orinoco_process_xmit_skb(struct sk_buff *skb, |
204 | struct net_device *dev, | 204 | struct net_device *dev, |