diff options
| -rw-r--r-- | drivers/staging/rtl8192e/ieee80211.h | 12 | ||||
| -rw-r--r-- | drivers/staging/rtl8192e/ieee80211/ieee80211.h | 12 | ||||
| -rw-r--r-- | drivers/staging/rtl8192e/ieee80211/ieee80211_module.c | 10 | ||||
| -rw-r--r-- | drivers/staging/rtl8192e/ieee80211/ieee80211_rx.c | 2 | ||||
| -rw-r--r-- | drivers/staging/rtl8192e/ieee80211/ieee80211_softmac.c | 24 | ||||
| -rw-r--r-- | drivers/staging/rtl8192e/ieee80211/ieee80211_tx.c | 2 | ||||
| -rw-r--r-- | drivers/staging/rtl8192e/r8192E_core.c | 14 |
7 files changed, 38 insertions, 38 deletions
diff --git a/drivers/staging/rtl8192e/ieee80211.h b/drivers/staging/rtl8192e/ieee80211.h index 97137ddefff4..3ba9e9e90bda 100644 --- a/drivers/staging/rtl8192e/ieee80211.h +++ b/drivers/staging/rtl8192e/ieee80211.h | |||
| @@ -303,8 +303,8 @@ enum _ReasonCode{ | |||
| 303 | #define ieee80211_rx_mgt ieee80211_rx_mgt_rsl | 303 | #define ieee80211_rx_mgt ieee80211_rx_mgt_rsl |
| 304 | 304 | ||
| 305 | #define ieee80211_get_beacon ieee80211_get_beacon_rsl | 305 | #define ieee80211_get_beacon ieee80211_get_beacon_rsl |
| 306 | #define ieee80211_wake_queue ieee80211_wake_queue_rsl | 306 | #define ieee80211_rtl_wake_queue ieee80211_rtl_wake_queue_rsl |
| 307 | #define ieee80211_stop_queue ieee80211_stop_queue_rsl | 307 | #define ieee80211_rtl_stop_queue ieee80211_rtl_stop_queue_rsl |
| 308 | #define ieee80211_reset_queue ieee80211_reset_queue_rsl | 308 | #define ieee80211_reset_queue ieee80211_reset_queue_rsl |
| 309 | #define ieee80211_softmac_stop_protocol ieee80211_softmac_stop_protocol_rsl | 309 | #define ieee80211_softmac_stop_protocol ieee80211_softmac_stop_protocol_rsl |
| 310 | #define ieee80211_softmac_start_protocol ieee80211_softmac_start_protocol_rsl | 310 | #define ieee80211_softmac_start_protocol ieee80211_softmac_start_protocol_rsl |
| @@ -2435,13 +2435,13 @@ extern int ieee80211_encrypt_fragment( | |||
| 2435 | struct sk_buff *frag, | 2435 | struct sk_buff *frag, |
| 2436 | int hdr_len); | 2436 | int hdr_len); |
| 2437 | 2437 | ||
| 2438 | extern int ieee80211_xmit(struct sk_buff *skb, | 2438 | extern int ieee80211_rtl_xmit(struct sk_buff *skb, |
| 2439 | struct net_device *dev); | 2439 | struct net_device *dev); |
| 2440 | extern void ieee80211_txb_free(struct ieee80211_txb *); | 2440 | extern void ieee80211_txb_free(struct ieee80211_txb *); |
| 2441 | 2441 | ||
| 2442 | 2442 | ||
| 2443 | /* ieee80211_rx.c */ | 2443 | /* ieee80211_rx.c */ |
| 2444 | extern int ieee80211_rx(struct ieee80211_device *ieee, struct sk_buff *skb, | 2444 | extern int ieee80211_rtl_rx(struct ieee80211_device *ieee, struct sk_buff *skb, |
| 2445 | struct ieee80211_rx_stats *rx_stats); | 2445 | struct ieee80211_rx_stats *rx_stats); |
| 2446 | extern void ieee80211_rx_mgt(struct ieee80211_device *ieee, | 2446 | extern void ieee80211_rx_mgt(struct ieee80211_device *ieee, |
| 2447 | struct ieee80211_hdr_4addr *header, | 2447 | struct ieee80211_hdr_4addr *header, |
| @@ -2502,8 +2502,8 @@ extern void ieee80211_stop_protocol(struct ieee80211_device *ieee); | |||
| 2502 | extern void ieee80211_softmac_start_protocol(struct ieee80211_device *ieee); | 2502 | extern void ieee80211_softmac_start_protocol(struct ieee80211_device *ieee); |
| 2503 | extern void ieee80211_softmac_stop_protocol(struct ieee80211_device *ieee); | 2503 | extern void ieee80211_softmac_stop_protocol(struct ieee80211_device *ieee); |
| 2504 | extern void ieee80211_reset_queue(struct ieee80211_device *ieee); | 2504 | extern void ieee80211_reset_queue(struct ieee80211_device *ieee); |
| 2505 | extern void ieee80211_wake_queue(struct ieee80211_device *ieee); | 2505 | extern void ieee80211_rtl_wake_queue(struct ieee80211_device *ieee); |
| 2506 | extern void ieee80211_stop_queue(struct ieee80211_device *ieee); | 2506 | extern void ieee80211_rtl_stop_queue(struct ieee80211_device *ieee); |
| 2507 | extern struct sk_buff *ieee80211_get_beacon(struct ieee80211_device *ieee); | 2507 | extern struct sk_buff *ieee80211_get_beacon(struct ieee80211_device *ieee); |
| 2508 | extern void ieee80211_start_send_beacons(struct ieee80211_device *ieee); | 2508 | extern void ieee80211_start_send_beacons(struct ieee80211_device *ieee); |
| 2509 | extern void ieee80211_stop_send_beacons(struct ieee80211_device *ieee); | 2509 | extern void ieee80211_stop_send_beacons(struct ieee80211_device *ieee); |
diff --git a/drivers/staging/rtl8192e/ieee80211/ieee80211.h b/drivers/staging/rtl8192e/ieee80211/ieee80211.h index 83c8452de378..aa76390487bb 100644 --- a/drivers/staging/rtl8192e/ieee80211/ieee80211.h +++ b/drivers/staging/rtl8192e/ieee80211/ieee80211.h | |||
| @@ -333,8 +333,8 @@ enum _ReasonCode{ | |||
| 333 | #define ieee80211_rx_mgt ieee80211_rx_mgt_rsl | 333 | #define ieee80211_rx_mgt ieee80211_rx_mgt_rsl |
| 334 | 334 | ||
| 335 | #define ieee80211_get_beacon ieee80211_get_beacon_rsl | 335 | #define ieee80211_get_beacon ieee80211_get_beacon_rsl |
| 336 | #define ieee80211_wake_queue ieee80211_wake_queue_rsl | 336 | #define ieee80211_rtl_wake_queue ieee80211_rtl_wake_queue_rsl |
| 337 | #define ieee80211_stop_queue ieee80211_stop_queue_rsl | 337 | #define ieee80211_rtl_stop_queue ieee80211_rtl_stop_queue_rsl |
| 338 | #define ieee80211_reset_queue ieee80211_reset_queue_rsl | 338 | #define ieee80211_reset_queue ieee80211_reset_queue_rsl |
| 339 | #define ieee80211_softmac_stop_protocol ieee80211_softmac_stop_protocol_rsl | 339 | #define ieee80211_softmac_stop_protocol ieee80211_softmac_stop_protocol_rsl |
| 340 | #define ieee80211_softmac_start_protocol ieee80211_softmac_start_protocol_rsl | 340 | #define ieee80211_softmac_start_protocol ieee80211_softmac_start_protocol_rsl |
| @@ -2546,13 +2546,13 @@ extern int ieee80211_encrypt_fragment( | |||
| 2546 | struct sk_buff *frag, | 2546 | struct sk_buff *frag, |
| 2547 | int hdr_len); | 2547 | int hdr_len); |
| 2548 | 2548 | ||
| 2549 | extern int ieee80211_xmit(struct sk_buff *skb, | 2549 | extern int ieee80211_rtl_xmit(struct sk_buff *skb, |
| 2550 | struct net_device *dev); | 2550 | struct net_device *dev); |
| 2551 | extern void ieee80211_txb_free(struct ieee80211_txb *); | 2551 | extern void ieee80211_txb_free(struct ieee80211_txb *); |
| 2552 | 2552 | ||
| 2553 | 2553 | ||
| 2554 | /* ieee80211_rx.c */ | 2554 | /* ieee80211_rx.c */ |
| 2555 | extern int ieee80211_rx(struct ieee80211_device *ieee, struct sk_buff *skb, | 2555 | extern int ieee80211_rtl_rx(struct ieee80211_device *ieee, struct sk_buff *skb, |
| 2556 | struct ieee80211_rx_stats *rx_stats); | 2556 | struct ieee80211_rx_stats *rx_stats); |
| 2557 | extern void ieee80211_rx_mgt(struct ieee80211_device *ieee, | 2557 | extern void ieee80211_rx_mgt(struct ieee80211_device *ieee, |
| 2558 | struct ieee80211_hdr_4addr *header, | 2558 | struct ieee80211_hdr_4addr *header, |
| @@ -2613,8 +2613,8 @@ extern void ieee80211_stop_protocol(struct ieee80211_device *ieee); | |||
| 2613 | extern void ieee80211_softmac_start_protocol(struct ieee80211_device *ieee); | 2613 | extern void ieee80211_softmac_start_protocol(struct ieee80211_device *ieee); |
| 2614 | extern void ieee80211_softmac_stop_protocol(struct ieee80211_device *ieee); | 2614 | extern void ieee80211_softmac_stop_protocol(struct ieee80211_device *ieee); |
| 2615 | extern void ieee80211_reset_queue(struct ieee80211_device *ieee); | 2615 | extern void ieee80211_reset_queue(struct ieee80211_device *ieee); |
| 2616 | extern void ieee80211_wake_queue(struct ieee80211_device *ieee); | 2616 | extern void ieee80211_rtl_wake_queue(struct ieee80211_device *ieee); |
| 2617 | extern void ieee80211_stop_queue(struct ieee80211_device *ieee); | 2617 | extern void ieee80211_rtl_stop_queue(struct ieee80211_device *ieee); |
| 2618 | extern struct sk_buff *ieee80211_get_beacon(struct ieee80211_device *ieee); | 2618 | extern struct sk_buff *ieee80211_get_beacon(struct ieee80211_device *ieee); |
| 2619 | extern void ieee80211_start_send_beacons(struct ieee80211_device *ieee); | 2619 | extern void ieee80211_start_send_beacons(struct ieee80211_device *ieee); |
| 2620 | extern void ieee80211_stop_send_beacons(struct ieee80211_device *ieee); | 2620 | extern void ieee80211_stop_send_beacons(struct ieee80211_device *ieee); |
diff --git a/drivers/staging/rtl8192e/ieee80211/ieee80211_module.c b/drivers/staging/rtl8192e/ieee80211/ieee80211_module.c index 2644155737a8..f43a7db5c78b 100644 --- a/drivers/staging/rtl8192e/ieee80211/ieee80211_module.c +++ b/drivers/staging/rtl8192e/ieee80211/ieee80211_module.c | |||
| @@ -119,7 +119,7 @@ struct net_device *alloc_ieee80211(int sizeof_priv) | |||
| 119 | ieee = (struct ieee80211_device *)dev->priv; | 119 | ieee = (struct ieee80211_device *)dev->priv; |
| 120 | #endif | 120 | #endif |
| 121 | #if 0 | 121 | #if 0 |
| 122 | dev->hard_start_xmit = ieee80211_xmit; | 122 | dev->hard_start_xmit = ieee80211_rtl_xmit; |
| 123 | #endif | 123 | #endif |
| 124 | 124 | ||
| 125 | memset(ieee, 0, sizeof(struct ieee80211_device)+sizeof_priv); | 125 | memset(ieee, 0, sizeof(struct ieee80211_device)+sizeof_priv); |
| @@ -333,7 +333,7 @@ extern void ieee80211_crypto_ccmp_exit(void); | |||
| 333 | extern int ieee80211_crypto_wep_init(void); | 333 | extern int ieee80211_crypto_wep_init(void); |
| 334 | extern void ieee80211_crypto_wep_exit(void); | 334 | extern void ieee80211_crypto_wep_exit(void); |
| 335 | 335 | ||
| 336 | int __init ieee80211_init(void) | 336 | int __init ieee80211_rtl_init(void) |
| 337 | { | 337 | { |
| 338 | struct proc_dir_entry *e; | 338 | struct proc_dir_entry *e; |
| 339 | int retval; | 339 | int retval; |
| @@ -389,7 +389,7 @@ int __init ieee80211_init(void) | |||
| 389 | return 0; | 389 | return 0; |
| 390 | } | 390 | } |
| 391 | 391 | ||
| 392 | void __exit ieee80211_exit(void) | 392 | void __exit ieee80211_rtl_exit(void) |
| 393 | { | 393 | { |
| 394 | if (ieee80211_proc) { | 394 | if (ieee80211_proc) { |
| 395 | remove_proc_entry("debug_level", ieee80211_proc); | 395 | remove_proc_entry("debug_level", ieee80211_proc); |
| @@ -412,8 +412,8 @@ module_param(debug, int, 0444); | |||
| 412 | MODULE_PARM_DESC(debug, "debug output mask"); | 412 | MODULE_PARM_DESC(debug, "debug output mask"); |
| 413 | 413 | ||
| 414 | 414 | ||
| 415 | //module_exit(ieee80211_exit); | 415 | //module_exit(ieee80211_rtl_exit); |
| 416 | //module_init(ieee80211_init); | 416 | //module_init(ieee80211_rtl_init); |
| 417 | #endif | 417 | #endif |
| 418 | #endif | 418 | #endif |
| 419 | 419 | ||
diff --git a/drivers/staging/rtl8192e/ieee80211/ieee80211_rx.c b/drivers/staging/rtl8192e/ieee80211/ieee80211_rx.c index 5dc478b86375..06d91715143c 100644 --- a/drivers/staging/rtl8192e/ieee80211/ieee80211_rx.c +++ b/drivers/staging/rtl8192e/ieee80211/ieee80211_rx.c | |||
| @@ -923,7 +923,7 @@ u8 parse_subframe(struct sk_buff *skb, | |||
| 923 | /* All received frames are sent to this function. @skb contains the frame in | 923 | /* All received frames are sent to this function. @skb contains the frame in |
| 924 | * IEEE 802.11 format, i.e., in the format it was sent over air. | 924 | * IEEE 802.11 format, i.e., in the format it was sent over air. |
| 925 | * This function is called only as a tasklet (software IRQ). */ | 925 | * This function is called only as a tasklet (software IRQ). */ |
| 926 | int ieee80211_rx(struct ieee80211_device *ieee, struct sk_buff *skb, | 926 | int ieee80211_rtl_rx(struct ieee80211_device *ieee, struct sk_buff *skb, |
| 927 | struct ieee80211_rx_stats *rx_stats) | 927 | struct ieee80211_rx_stats *rx_stats) |
| 928 | { | 928 | { |
| 929 | struct net_device *dev = ieee->dev; | 929 | struct net_device *dev = ieee->dev; |
diff --git a/drivers/staging/rtl8192e/ieee80211/ieee80211_softmac.c b/drivers/staging/rtl8192e/ieee80211/ieee80211_softmac.c index 593d22825184..6d1ddec39f0e 100644 --- a/drivers/staging/rtl8192e/ieee80211/ieee80211_softmac.c +++ b/drivers/staging/rtl8192e/ieee80211/ieee80211_softmac.c | |||
| @@ -684,7 +684,7 @@ void ieee80211_stop_scan(struct ieee80211_device *ieee) | |||
| 684 | } | 684 | } |
| 685 | 685 | ||
| 686 | /* called with ieee->lock held */ | 686 | /* called with ieee->lock held */ |
| 687 | void ieee80211_start_scan(struct ieee80211_device *ieee) | 687 | void ieee80211_rtl_start_scan(struct ieee80211_device *ieee) |
| 688 | { | 688 | { |
| 689 | #ifdef ENABLE_DOT11D | 689 | #ifdef ENABLE_DOT11D |
| 690 | if(IS_DOT11D_ENABLE(ieee) ) | 690 | if(IS_DOT11D_ENABLE(ieee) ) |
| @@ -1430,7 +1430,7 @@ void ieee80211_associate_step1(struct ieee80211_device *ieee) | |||
| 1430 | } | 1430 | } |
| 1431 | } | 1431 | } |
| 1432 | 1432 | ||
| 1433 | void ieee80211_auth_challenge(struct ieee80211_device *ieee, u8 *challenge, int chlen) | 1433 | void ieee80211_rtl_auth_challenge(struct ieee80211_device *ieee, u8 *challenge, int chlen) |
| 1434 | { | 1434 | { |
| 1435 | u8 *c; | 1435 | u8 *c; |
| 1436 | struct sk_buff *skb; | 1436 | struct sk_buff *skb; |
| @@ -2262,7 +2262,7 @@ ieee80211_rx_frame_softmac(struct ieee80211_device *ieee, struct sk_buff *skb, | |||
| 2262 | 2262 | ||
| 2263 | ieee80211_associate_step2(ieee); | 2263 | ieee80211_associate_step2(ieee); |
| 2264 | }else{ | 2264 | }else{ |
| 2265 | ieee80211_auth_challenge(ieee, challenge, chlen); | 2265 | ieee80211_rtl_auth_challenge(ieee, challenge, chlen); |
| 2266 | } | 2266 | } |
| 2267 | }else{ | 2267 | }else{ |
| 2268 | ieee->softmac_stats.rx_auth_rs_err++; | 2268 | ieee->softmac_stats.rx_auth_rs_err++; |
| @@ -2376,7 +2376,7 @@ void ieee80211_softmac_xmit(struct ieee80211_txb *txb, struct ieee80211_device * | |||
| 2376 | * to check it any more. | 2376 | * to check it any more. |
| 2377 | * */ | 2377 | * */ |
| 2378 | //printk("error:no descriptor left@queue_index %d\n", queue_index); | 2378 | //printk("error:no descriptor left@queue_index %d\n", queue_index); |
| 2379 | //ieee80211_stop_queue(ieee); | 2379 | //ieee80211_rtl_stop_queue(ieee); |
| 2380 | #ifdef USB_TX_DRIVER_AGGREGATION_ENABLE | 2380 | #ifdef USB_TX_DRIVER_AGGREGATION_ENABLE |
| 2381 | skb_queue_tail(&ieee->skb_drv_aggQ[queue_index], txb->fragments[i]); | 2381 | skb_queue_tail(&ieee->skb_drv_aggQ[queue_index], txb->fragments[i]); |
| 2382 | #else | 2382 | #else |
| @@ -2440,7 +2440,7 @@ void ieee80211_reset_queue(struct ieee80211_device *ieee) | |||
| 2440 | 2440 | ||
| 2441 | } | 2441 | } |
| 2442 | 2442 | ||
| 2443 | void ieee80211_wake_queue(struct ieee80211_device *ieee) | 2443 | void ieee80211_rtl_wake_queue(struct ieee80211_device *ieee) |
| 2444 | { | 2444 | { |
| 2445 | 2445 | ||
| 2446 | unsigned long flags; | 2446 | unsigned long flags; |
| @@ -2481,7 +2481,7 @@ exit : | |||
| 2481 | } | 2481 | } |
| 2482 | 2482 | ||
| 2483 | 2483 | ||
| 2484 | void ieee80211_stop_queue(struct ieee80211_device *ieee) | 2484 | void ieee80211_rtl_stop_queue(struct ieee80211_device *ieee) |
| 2485 | { | 2485 | { |
| 2486 | //unsigned long flags; | 2486 | //unsigned long flags; |
| 2487 | //spin_lock_irqsave(&ieee->lock,flags); | 2487 | //spin_lock_irqsave(&ieee->lock,flags); |
| @@ -2706,7 +2706,7 @@ void ieee80211_start_bss(struct ieee80211_device *ieee) | |||
| 2706 | 2706 | ||
| 2707 | if (ieee->state == IEEE80211_NOLINK){ | 2707 | if (ieee->state == IEEE80211_NOLINK){ |
| 2708 | ieee->actscanning = true; | 2708 | ieee->actscanning = true; |
| 2709 | ieee80211_start_scan(ieee); | 2709 | ieee80211_rtl_start_scan(ieee); |
| 2710 | } | 2710 | } |
| 2711 | spin_unlock_irqrestore(&ieee->lock, flags); | 2711 | spin_unlock_irqrestore(&ieee->lock, flags); |
| 2712 | } | 2712 | } |
| @@ -2775,7 +2775,7 @@ void ieee80211_associate_retry_wq(struct ieee80211_device *ieee) | |||
| 2775 | { | 2775 | { |
| 2776 | ieee->is_roaming= false; | 2776 | ieee->is_roaming= false; |
| 2777 | ieee->actscanning = true; | 2777 | ieee->actscanning = true; |
| 2778 | ieee80211_start_scan(ieee); | 2778 | ieee80211_rtl_start_scan(ieee); |
| 2779 | } | 2779 | } |
| 2780 | spin_unlock_irqrestore(&ieee->lock, flags); | 2780 | spin_unlock_irqrestore(&ieee->lock, flags); |
| 2781 | 2781 | ||
| @@ -3497,8 +3497,8 @@ void notify_wx_assoc_event(struct ieee80211_device *ieee) | |||
| 3497 | 3497 | ||
| 3498 | #if (LINUX_VERSION_CODE > KERNEL_VERSION(2,5,0)) | 3498 | #if (LINUX_VERSION_CODE > KERNEL_VERSION(2,5,0)) |
| 3499 | //EXPORT_SYMBOL(ieee80211_get_beacon); | 3499 | //EXPORT_SYMBOL(ieee80211_get_beacon); |
| 3500 | //EXPORT_SYMBOL(ieee80211_wake_queue); | 3500 | //EXPORT_SYMBOL(ieee80211_rtl_wake_queue); |
| 3501 | //EXPORT_SYMBOL(ieee80211_stop_queue); | 3501 | //EXPORT_SYMBOL(ieee80211_rtl_stop_queue); |
| 3502 | //EXPORT_SYMBOL(ieee80211_reset_queue); | 3502 | //EXPORT_SYMBOL(ieee80211_reset_queue); |
| 3503 | //EXPORT_SYMBOL(ieee80211_softmac_stop_protocol); | 3503 | //EXPORT_SYMBOL(ieee80211_softmac_stop_protocol); |
| 3504 | //EXPORT_SYMBOL(ieee80211_softmac_start_protocol); | 3504 | //EXPORT_SYMBOL(ieee80211_softmac_start_protocol); |
| @@ -3518,8 +3518,8 @@ void notify_wx_assoc_event(struct ieee80211_device *ieee) | |||
| 3518 | //EXPORT_SYMBOL(ieee80211_start_scan_syncro); | 3518 | //EXPORT_SYMBOL(ieee80211_start_scan_syncro); |
| 3519 | #else | 3519 | #else |
| 3520 | EXPORT_SYMBOL_NOVERS(ieee80211_get_beacon); | 3520 | EXPORT_SYMBOL_NOVERS(ieee80211_get_beacon); |
| 3521 | EXPORT_SYMBOL_NOVERS(ieee80211_wake_queue); | 3521 | EXPORT_SYMBOL_NOVERS(ieee80211_rtl_wake_queue); |
| 3522 | EXPORT_SYMBOL_NOVERS(ieee80211_stop_queue); | 3522 | EXPORT_SYMBOL_NOVERS(ieee80211_rtl_stop_queue); |
| 3523 | EXPORT_SYMBOL_NOVERS(ieee80211_reset_queue); | 3523 | EXPORT_SYMBOL_NOVERS(ieee80211_reset_queue); |
| 3524 | EXPORT_SYMBOL_NOVERS(ieee80211_softmac_stop_protocol); | 3524 | EXPORT_SYMBOL_NOVERS(ieee80211_softmac_stop_protocol); |
| 3525 | EXPORT_SYMBOL_NOVERS(ieee80211_softmac_start_protocol); | 3525 | EXPORT_SYMBOL_NOVERS(ieee80211_softmac_start_protocol); |
diff --git a/drivers/staging/rtl8192e/ieee80211/ieee80211_tx.c b/drivers/staging/rtl8192e/ieee80211/ieee80211_tx.c index 103b33c093f5..798fb4154c25 100644 --- a/drivers/staging/rtl8192e/ieee80211/ieee80211_tx.c +++ b/drivers/staging/rtl8192e/ieee80211/ieee80211_tx.c | |||
| @@ -604,7 +604,7 @@ void ieee80211_query_seqnum(struct ieee80211_device*ieee, struct sk_buff* skb, u | |||
| 604 | } | 604 | } |
| 605 | } | 605 | } |
| 606 | 606 | ||
| 607 | int ieee80211_xmit(struct sk_buff *skb, struct net_device *dev) | 607 | int ieee80211_rtl_xmit(struct sk_buff *skb, struct net_device *dev) |
| 608 | { | 608 | { |
| 609 | #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0)) | 609 | #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0)) |
| 610 | struct ieee80211_device *ieee = netdev_priv(dev); | 610 | struct ieee80211_device *ieee = netdev_priv(dev); |
diff --git a/drivers/staging/rtl8192e/r8192E_core.c b/drivers/staging/rtl8192e/r8192E_core.c index ff8fe7e32a92..0ca5d8b4f746 100644 --- a/drivers/staging/rtl8192e/r8192E_core.c +++ b/drivers/staging/rtl8192e/r8192E_core.c | |||
| @@ -5795,7 +5795,7 @@ static void rtl8192_rx(struct net_device *dev) | |||
| 5795 | stats.fragoffset = 0; | 5795 | stats.fragoffset = 0; |
| 5796 | stats.ntotalfrag = 1; | 5796 | stats.ntotalfrag = 1; |
| 5797 | 5797 | ||
| 5798 | if(!ieee80211_rx(priv->ieee80211, skb, &stats)){ | 5798 | if(!ieee80211_rtl_rx(priv->ieee80211, skb, &stats)){ |
| 5799 | dev_kfree_skb_any(skb); | 5799 | dev_kfree_skb_any(skb); |
| 5800 | } else { | 5800 | } else { |
| 5801 | priv->stats.rxok++; | 5801 | priv->stats.rxok++; |
| @@ -5837,7 +5837,7 @@ static const struct net_device_ops rtl8192_netdev_ops = { | |||
| 5837 | .ndo_do_ioctl = rtl8192_ioctl, | 5837 | .ndo_do_ioctl = rtl8192_ioctl, |
| 5838 | .ndo_set_multicast_list = r8192_set_multicast, | 5838 | .ndo_set_multicast_list = r8192_set_multicast, |
| 5839 | .ndo_set_mac_address = r8192_set_mac_adr, | 5839 | .ndo_set_mac_address = r8192_set_mac_adr, |
| 5840 | .ndo_start_xmit = ieee80211_xmit, | 5840 | .ndo_start_xmit = ieee80211_rtl_xmit, |
| 5841 | }; | 5841 | }; |
| 5842 | 5842 | ||
| 5843 | /**************************************************************************** | 5843 | /**************************************************************************** |
| @@ -6121,14 +6121,14 @@ static void __devexit rtl8192_pci_disconnect(struct pci_dev *pdev) | |||
| 6121 | RT_TRACE(COMP_DOWN, "wlan driver removed\n"); | 6121 | RT_TRACE(COMP_DOWN, "wlan driver removed\n"); |
| 6122 | } | 6122 | } |
| 6123 | 6123 | ||
| 6124 | extern int ieee80211_init(void); | 6124 | extern int ieee80211_rtl_init(void); |
| 6125 | extern void ieee80211_exit(void); | 6125 | extern void ieee80211_rtl_exit(void); |
| 6126 | 6126 | ||
| 6127 | static int __init rtl8192_pci_module_init(void) | 6127 | static int __init rtl8192_pci_module_init(void) |
| 6128 | { | 6128 | { |
| 6129 | int retval; | 6129 | int retval; |
| 6130 | 6130 | ||
| 6131 | retval = ieee80211_init(); | 6131 | retval = ieee80211_rtl_init(); |
| 6132 | if (retval) | 6132 | if (retval) |
| 6133 | return retval; | 6133 | return retval; |
| 6134 | 6134 | ||
| @@ -6153,7 +6153,7 @@ static void __exit rtl8192_pci_module_exit(void) | |||
| 6153 | 6153 | ||
| 6154 | RT_TRACE(COMP_DOWN, "Exiting"); | 6154 | RT_TRACE(COMP_DOWN, "Exiting"); |
| 6155 | rtl8192_proc_module_remove(); | 6155 | rtl8192_proc_module_remove(); |
| 6156 | ieee80211_exit(); | 6156 | ieee80211_rtl_exit(); |
| 6157 | } | 6157 | } |
| 6158 | 6158 | ||
| 6159 | //warning message WB | 6159 | //warning message WB |
| @@ -6313,7 +6313,7 @@ void rtl8192_try_wake_queue(struct net_device *dev, int pri) | |||
| 6313 | spin_unlock_irqrestore(&priv->tx_lock,flags); | 6313 | spin_unlock_irqrestore(&priv->tx_lock,flags); |
| 6314 | 6314 | ||
| 6315 | if(enough_desc) | 6315 | if(enough_desc) |
| 6316 | ieee80211_wake_queue(priv->ieee80211); | 6316 | ieee80211_rtl_wake_queue(priv->ieee80211); |
| 6317 | #endif | 6317 | #endif |
| 6318 | } | 6318 | } |
| 6319 | 6319 | ||
