1. 30 5月, 2012 2 次提交
  2. 16 5月, 2012 1 次提交
    • S
      ath9k_hw: Fix RTT calibration · 8a90555f
      Sujith Manoharan 提交于
      This patch fixes multiple issues with the current RTT
      implementation in ath9k.
      
      * The data that is obtained from the RTT interface registers
        are stored in 31:5 - mask out the extra bits when reading them.
      
      * A history buffer is maintained which is not needed at all.
        Remove this array and just store the baseband data for each
        chain (or bank).
      
      * A 'num_readings' variable was being used to handle the
        last entry. But it was being used in an improper manner, with
        the result that the RTT values were never being written
        to the RTT Interface registers. Fix this by using a simple
        flag.
      
      * Stop baseband operations before programming the calibration values
        to the HW.
      
      * Do not restore RX gain settings as part of RTT.
      Signed-off-by: NSujith Manoharan <c_manoha@qca.qualcomm.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      8a90555f
  3. 11 5月, 2012 1 次提交
    • J
      drivers/net: Convert compare_ether_addr to ether_addr_equal · 2e42e474
      Joe Perches 提交于
      Use the new bool function ether_addr_equal to add
      some clarity and reduce the likelihood for misuse
      of compare_ether_addr for sorting.
      
      Done via cocci script:
      
      $ cat compare_ether_addr.cocci
      @@
      expression a,b;
      @@
      -	!compare_ether_addr(a, b)
      +	ether_addr_equal(a, b)
      
      @@
      expression a,b;
      @@
      -	compare_ether_addr(a, b)
      +	!ether_addr_equal(a, b)
      
      @@
      expression a,b;
      @@
      -	!ether_addr_equal(a, b) == 0
      +	ether_addr_equal(a, b)
      
      @@
      expression a,b;
      @@
      -	!ether_addr_equal(a, b) != 0
      +	!ether_addr_equal(a, b)
      
      @@
      expression a,b;
      @@
      -	ether_addr_equal(a, b) == 0
      +	!ether_addr_equal(a, b)
      
      @@
      expression a,b;
      @@
      -	ether_addr_equal(a, b) != 0
      +	ether_addr_equal(a, b)
      
      @@
      expression a,b;
      @@
      -	!!ether_addr_equal(a, b)
      +	ether_addr_equal(a, b)
      Signed-off-by: NJoe Perches <joe@perches.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      2e42e474
  4. 03 5月, 2012 1 次提交
  5. 25 4月, 2012 1 次提交
  6. 24 4月, 2012 18 次提交
  7. 18 4月, 2012 5 次提交
  8. 17 4月, 2012 11 次提交