patch-2.4.0-test10 linux/drivers/net/aironet4500_core.c

Next file: linux/drivers/net/apne.c
Previous file: linux/drivers/net/aironet4500_card.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test9/linux/drivers/net/aironet4500_core.c linux/drivers/net/aironet4500_core.c
@@ -45,8 +45,8 @@
 int sleep_before_command  = 1;
 int bap_sleep_before_write= 1;
 int sleep_in_command	  = 1;
-int both_bap_lock	 =0;	/* activated at awc_init in this */
-int bap_setup_spinlock   =0;	/* file if numcpu >1 */
+int both_bap_lock;		/* activated at awc_init in this */
+int bap_setup_spinlock;		/* file if numcpu >1 */
 
 EXPORT_SYMBOL(bap_sleep);
 EXPORT_SYMBOL(bap_sleep_after_setup);
@@ -1386,7 +1386,7 @@
 */ 
 
 
-int parse_not_8023= 0;
+int parse_not_8023;
        
 void
 awc_802_11_router_rx(struct net_device * dev,struct awc_fid * rx_buff){
@@ -2539,25 +2539,25 @@
 static const char *aironet4500_core_version =
 "aironet4500.c v0.1 1/1/99 Elmer Joandi, elmer@ylenurme.ee.\n";
 
-struct net_device * aironet4500_devices[MAX_AWCS]  = {NULL,NULL,NULL,NULL};
+struct net_device * aironet4500_devices[MAX_AWCS];
 
-int awc_debug = 0; //  0xffffff;
-static int p802_11_send  =  0; // 1
+int awc_debug; //  0xffffff;
+static int p802_11_send; // 1
 
-static int awc_process_tx_results = 0;
+static int awc_process_tx_results;
 int tx_queue_len = 10;
-int tx_rate = 0;
+int tx_rate;
 int channel = 5;
-//static int tx_full_rate = 0;
+//static int tx_full_rate;
 int max_mtu = 2312;
-int adhoc = 0;
+int adhoc;
 int large_buff_mem = 1700 * 10;
 int small_buff_no	= 20;
-int awc_full_stats = 0;
-char SSID[33] = {0};
-int master= 0;
-int slave = 0;
-int awc_simple_bridge = 0;
+int awc_full_stats;
+char SSID[33];
+int master;
+int slave;
+int awc_simple_bridge;
 // int debug =0;
 
 #if LINUX_VERSION_CODE >= 0x20100
@@ -3029,7 +3029,7 @@
 }
 
 
-long long last_tx_q_hack = 0;
+long long last_tx_q_hack;
 int direction = 1;
 
 int awc_start_xmit(struct sk_buff *skb, struct net_device *dev) {
@@ -3213,8 +3213,8 @@
 
 
 
-int (* awc_proc_set_fun) (int) = NULL;
-int (* awc_proc_unset_fun) (int) = NULL;
+int (* awc_proc_set_fun) (int);
+int (* awc_proc_unset_fun) (int);
 
 
 int awc_register_proc(int (*awc_proc_set_device)(int),int (*awc_proc_unset_device)(int)){

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)