1. 20 12月, 2013 1 次提交
  2. 26 11月, 2013 1 次提交
    • L
      cfg80211: consolidate passive-scan and no-ibss flags · 8fe02e16
      Luis R. Rodriguez 提交于
      These two flags are used for the same purpose, just
      combine them into a no-ir flag to annotate no initiating
      radiation is allowed.
      
      Old userspace sending either flag will have it treated as
      the no-ir flag. To be considerate to older userspace we
      also send both the no-ir flag and the old no-ibss flags.
      Newer userspace will have to be aware of older kernels.
      
      Update all places in the tree using these flags with the
      following semantic patch:
      
      @@
      @@
      -NL80211_RRF_PASSIVE_SCAN
      +NL80211_RRF_NO_IR
      @@
      @@
      -NL80211_RRF_NO_IBSS
      +NL80211_RRF_NO_IR
      @@
      @@
      -IEEE80211_CHAN_PASSIVE_SCAN
      +IEEE80211_CHAN_NO_IR
      @@
      @@
      -IEEE80211_CHAN_NO_IBSS
      +IEEE80211_CHAN_NO_IR
      @@
      @@
      -NL80211_RRF_NO_IR | NL80211_RRF_NO_IR
      +NL80211_RRF_NO_IR
      @@
      @@
      -IEEE80211_CHAN_NO_IR | IEEE80211_CHAN_NO_IR
      +IEEE80211_CHAN_NO_IR
      @@
      @@
      -(NL80211_RRF_NO_IR)
      +NL80211_RRF_NO_IR
      @@
      @@
      -(IEEE80211_CHAN_NO_IR)
      +IEEE80211_CHAN_NO_IR
      
      Along with some hand-optimisations in documentation, to
      remove duplicates and to fix some indentation.
      Signed-off-by: NLuis R. Rodriguez <mcgrof@do-not-panic.com>
      [do all the driver updates in one go]
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      8fe02e16
  3. 06 4月, 2012 1 次提交
    • S
      simple_open: automatically convert to simple_open() · 234e3405
      Stephen Boyd 提交于
      Many users of debugfs copy the implementation of default_open() when
      they want to support a custom read/write function op.  This leads to a
      proliferation of the default_open() implementation across the entire
      tree.
      
      Now that the common implementation has been consolidated into libfs we
      can replace all the users of this function with simple_open().
      
      This replacement was done with the following semantic patch:
      
      <smpl>
      @ open @
      identifier open_f != simple_open;
      identifier i, f;
      @@
      -int open_f(struct inode *i, struct file *f)
      -{
      (
      -if (i->i_private)
      -f->private_data = i->i_private;
      |
      -f->private_data = i->i_private;
      )
      -return 0;
      -}
      
      @ has_open depends on open @
      identifier fops;
      identifier open.open_f;
      @@
      struct file_operations fops = {
      ...
      -.open = open_f,
      +.open = simple_open,
      ...
      };
      </smpl>
      
      [akpm@linux-foundation.org: checkpatch fixes]
      Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Al Viro <viro@zeniv.linux.org.uk>
      Cc: Julia Lawall <Julia.Lawall@lip6.fr>
      Acked-by: NIngo Molnar <mingo@elte.hu>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      234e3405
  4. 23 2月, 2012 4 次提交
  5. 07 2月, 2012 5 次提交
  6. 15 11月, 2011 19 次提交
  7. 01 11月, 2011 1 次提交
  8. 11 6月, 2011 2 次提交
    • S
      iwlegacy: remove firmware event log · 1ba2f121
      Stanislaw Gruszka 提交于
      Messages like that
      
      iwl4965 0000:03:00.0: Start IWL Event Log Dump: display last 20 entries
      iwl4965 0000:03:00.0: EVT_LOGT:1821445332:0x00000000:1352
      iwl4965 0000:03:00.0: EVT_LOGT:1821445332:0x00000001:1353
      iwl4965 0000:03:00.0: EVT_LOGT:1821445336:0x0000000c:0357
      iwl4965 0000:03:00.0: EVT_LOGT:1821445533:0x00000107:0106
      iwl4965 0000:03:00.0: EVT_LOGT:1821445534:0x00000000:0302
      iwl4965 0000:03:00.0: EVT_LOGT:1821445574:0x000000d4:0321
      iwl4965 0000:03:00.0: EVT_LOGT:1821445575:0x00000000:1350
      iwl4965 0000:03:00.0: EVT_LOGT:1821445576:0x00000000:1351
      iwl4965 0000:03:00.0: EVT_LOGT:1821445576:0x00000000:1352
      iwl4965 0000:03:00.0: EVT_LOGT:1821445577:0x00000001:1353
      iwl4965 0000:03:00.0: EVT_LOGT:1821445581:0x0000000d:0357
      iwl4965 0000:03:00.0: EVT_LOGT:1821446327:0x00000107:0106
      iwl4965 0000:03:00.0: EVT_LOGT:1821446328:0x00000000:0302
      iwl4965 0000:03:00.0: EVT_LOGT:1821446368:0x000000d4:0321
      iwl4965 0000:03:00.0: EVT_LOGT:1821446369:0x00000000:1350
      iwl4965 0000:03:00.0: EVT_LOGT:1821446370:0x00000000:1351
      iwl4965 0000:03:00.0: EVT_LOGT:1821446370:0x00000000:1352
      iwl4965 0000:03:00.0: EVT_LOGT:1821446371:0x00000001:1353
      iwl4965 0000:03:00.0: EVT_LOGT:1821446375:0x0000000e:0357
      iwl4965 0000:03:00.0: EVT_LOGT:1821446383:0x00000000:0125
      
      are completely useless for me. Remove bunch of code that generate them.
      Signed-off-by: NStanislaw Gruszka <sgruszka@redhat.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      1ba2f121
    • S
      iwlegacy: remove reset rf infrastructure · dd6d2a8a
      Stanislaw Gruszka 提交于
      We do not reset radio anymore, hence don't need that code too.
      Signed-off-by: NStanislaw Gruszka <sgruszka@redhat.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      dd6d2a8a
  9. 26 2月, 2011 1 次提交
    • J
      iwlegacy: change some symbols duplicated from iwlwifi directory · ef33417d
      John W. Linville 提交于
      drivers/net/wireless/iwlegacy/built-in.o:(.rodata+0x29f0): multiple definition of `iwl_rates'
      drivers/net/wireless/iwlwifi/built-in.o:(.rodata+0xa68): first defined here
      powerpc64-linux-ld: Warning: size of symbol `iwl_rates' changed from 143 in drivers/net/wireless/iwlwifi/built-in.o to 130 in drivers/net/wireless/iwlegacy/built-in.o
      drivers/net/wireless/iwlegacy/built-in.o:(.data+0x0): multiple definition of `bt_coex_active'
      drivers/net/wireless/iwlwifi/built-in.o:(.data+0x668): first defined here
      drivers/net/wireless/iwlegacy/built-in.o:(.rodata+0x750): multiple definition of `iwl_eeprom_band_1'
      drivers/net/wireless/iwlwifi/built-in.o:(.rodata+0x27d0): first defined here
      drivers/net/wireless/iwlegacy/built-in.o:(.rodata+0x3f0): multiple definition of `iwl_bcast_addr'
      drivers/net/wireless/iwlwifi/built-in.o:(.rodata+0x24f8): first defined here
      drivers/net/wireless/iwlegacy/built-in.o:(.bss+0x3d48): multiple definition of `iwl_debug_level'
      drivers/net/wireless/iwlwifi/built-in.o:(.bss+0x21950): first defined here
      Reported-by: NStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      ef33417d
  10. 22 2月, 2011 3 次提交
  11. 01 2月, 2011 1 次提交
  12. 29 1月, 2011 1 次提交