Commit e3d74826 authored by Wolfram Sang's avatar Wolfram Sang Committed by Greg Kroah-Hartman
Browse files

staging: ks7010: indent ks_hostif.h

parent 20c4f9c5
Loading
Loading
Loading
Loading
+262 −263
Original line number Diff line number Diff line
@@ -146,7 +146,6 @@ struct hostif_mib_get_request_t {
	uint32_t mib_attribute;
} __attribute__ ((packed));


struct hostif_mib_value_t {
	uint16_t size;
	uint16_t type;
@@ -262,7 +261,6 @@ struct IbssParms_t {
	uint16_t atimWindow;
} __attribute__ ((packed));


struct rsn_t {
	uint8_t size;
#define RSN_BODY_SIZE 64
@@ -405,7 +403,6 @@ struct hostif_infrastructure_set2_request_t {
	uint8_t bssid[ETH_ALEN];
} __attribute__ ((packed));


struct hostif_infrastructure_set_confirm_t {
	struct hostif_hdr header;
	uint16_t result_code;
@@ -442,7 +439,6 @@ struct hostif_adhoc_set_confirm_t {
	uint16_t result_code;
} __attribute__ ((packed));


struct last_associate_t {
	uint8_t type;
	uint8_t status;
@@ -623,8 +619,10 @@ enum {
#include "ks_wlan.h"

/* function prototype */
extern int hostif_data_request( struct ks_wlan_private *priv, struct sk_buff *packet );
extern void hostif_receive( struct ks_wlan_private *priv, unsigned char *p, unsigned int size );
extern int hostif_data_request(struct ks_wlan_private *priv,
			       struct sk_buff *packet);
extern void hostif_receive(struct ks_wlan_private *priv, unsigned char *p,
			   unsigned int size);
extern void hostif_sme_enqueue(struct ks_wlan_private *priv, uint16_t event);
extern int hostif_init(struct ks_wlan_private *priv);
extern void hostif_exit(struct ks_wlan_private *priv);
@@ -637,7 +635,8 @@ inline int hif_align_size(int size)
		size = 1024;
#endif
#ifdef	DEVICE_ALIGNMENT
	return (size%DEVICE_ALIGNMENT) ?  size + DEVICE_ALIGNMENT - (size % DEVICE_ALIGNMENT) : size;
	return (size % DEVICE_ALIGNMENT) ? size + DEVICE_ALIGNMENT -
	    (size % DEVICE_ALIGNMENT) : size;
#else
	return size;
#endif