Guest
Public paste!

Untitled

By: a guest | Sep 6th, 2010 | Syntax: None | Size: 1.51 KB | Hits: 85 | Expires: Never
Copy text to clipboard
  1. diff --git a/drivers/net/wireless/bcm4329_204/dhd_cdc.c b/drivers/net/wireless/bcm4329_204/dhd_cdc.c
  2. index 2412e88..c62d82f 100644
  3. --- a/drivers/net/wireless/bcm4329_204/dhd_cdc.c
  4. +++ b/drivers/net/wireless/bcm4329_204/dhd_cdc.c
  5. @@ -870,7 +870,6 @@ dhd_preinit_ioctls(dhd_pub_t *dhd)
  6.         uint32 dongle_align = DHD_SDALIGN;
  7.         uint32 glom = 0;
  8.  
  9. -       uint32 nmode = 0;
  10.         uint bcn_timeout = 5;
  11.  /* Disable ARP off-load first
  12.   */
  13. @@ -945,12 +944,6 @@ dhd_preinit_ioctls(dhd_pub_t *dhd)
  14.         bcm_mkiovar("roam_off", (char *)&roamvar, 4, iovbuf, sizeof(iovbuf));
  15.         dhdcdc_set_ioctl(dhd, 0, WLC_SET_VAR, iovbuf, sizeof(iovbuf));
  16.  
  17. -       if(!wifi_get_dot11n_enable()) {
  18. -               /* Disable nmode as default */
  19. -               bcm_mkiovar("nmode", (char *)&nmode, 4, iovbuf, sizeof(iovbuf));
  20. -               dhdcdc_set_ioctl(dhd, 0, WLC_SET_VAR, iovbuf, sizeof(iovbuf));
  21. -               myprintf("wifi: Disable 802.11n\n");
  22. -       }
  23.         /* Force STA UP */
  24.         dhdcdc_set_ioctl(dhd, 0, WLC_UP, (char *)&up, sizeof(up));
  25.  
  26. diff --git a/drivers/net/wireless/bcm4329_204/dhd_linux.c b/drivers/net/wireless/bcm4329_204/dhd_linux.c
  27. index 44da2c7..06e3842 100644
  28. --- a/drivers/net/wireless/bcm4329_204/dhd_linux.c
  29. +++ b/drivers/net/wireless/bcm4329_204/dhd_linux.c
  30. @@ -93,10 +93,7 @@ int wifi_get_irq_number(unsigned long *irq_flags_ptr)
  31.  
  32.  int wifi_get_dot11n_enable(void)
  33.  {
  34. -        if (wifi_control_data && wifi_control_data->dot11n_enable) {
  35. -                return wifi_control_data->dot11n_enable;
  36. -        }
  37. -        return 0;
  38. +        return 1;
  39.  }
  40.  
  41.  int wifi_set_carddetect(int on)