1. 09 Jan, 2017 2 commits
    • Johannes Berg's avatar
      cfg80211: size various nl80211 messages correctly · 4ef8c1c9
      Johannes Berg authored
      Ilan reported that sometimes nl80211 messages weren't working if
      the frames being transported got very large, which was really a
      problem for userspace-to-kernel messages, but prompted me to look
      at the code.
      Upon review, I found various places where variable-length data is
      transported in an nl80211 message but the message isn't allocated
      taking that into account. This shouldn't cause any problems since
      the frames aren't really that long, apart in one place where two
      (possibly very long frames) might not fit.
      Fix all the places (that I found) that get variable length data
      from the driver and put it into a message to take the length of
      the variable data into account. The 100 there is just a safe
      constant for the remaining message overhead (it's usually around
      50 for most messages.)
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
    • Michał Kępień's avatar
      rfkill: Add rfkill-any LED trigger · 9b8e34e2
      Michał Kępień authored
      Add a new "global" (i.e. not per-rfkill device) LED trigger, rfkill-any,
      which may be useful on laptops with a single "radio LED" and multiple
      radio transmitters.  The trigger is meant to turn a LED on whenever
      there is at least one radio transmitter active and turn it off
      Signed-off-by: default avatarMichał Kępień <kernel@kempniu.pl>
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
  2. 06 Jan, 2017 3 commits
  3. 05 Jan, 2017 2 commits
  4. 04 Jan, 2017 1 commit
  5. 02 Jan, 2017 3 commits
  6. 20 Dec, 2016 1 commit
  7. 16 Dec, 2016 3 commits
  8. 15 Dec, 2016 11 commits
  9. 13 Dec, 2016 14 commits