Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wirel...
authorDavid S. Miller <davem@davemloft.net>
Thu, 1 Apr 2010 02:32:50 +0000 (19:32 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Apr 2010 02:32:50 +0000 (19:32 -0700)
1  2 
drivers/net/wireless/rt2x00/rt2500usb.c

@@@ -368,7 -368,7 +368,7 @@@ static int rt2500usb_config_key(struct 
  
                /*
                 * The encryption key doesn't fit within the CSR cache,
 -               * this means we should allocate it seperately and use
 +               * this means we should allocate it separately and use
                 * rt2x00usb_vendor_request() to send the key to the hardware.
                 */
                reg = KEY_ENTRY(key->hw_key_idx);
                /*
                 * The driver does not support the IV/EIV generation
                 * in hardware. However it demands the data to be provided
 -               * both seperately as well as inside the frame.
 +               * both separately as well as inside the frame.
                 * We already provided the CONFIG_CRYPTO_COPY_IV to rt2x00lib
                 * to ensure rt2x00lib will not strip the data from the
                 * frame after the copy, now we must tell mac80211
@@@ -1642,6 -1642,11 +1642,11 @@@ static int rt2500usb_probe_hw_mode(stru
        char *tx_power;
        unsigned int i;
  
+       /*
+        * Disable powersaving as default.
+        */
+       rt2x00dev->hw->wiphy->flags &= ~WIPHY_FLAG_PS_ON_BY_DEFAULT;
        /*
         * Initialize all hw fields.
         */