commit | bceb75a7772798ae9866488313995345daf5413a | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Thu Jan 21 13:07:56 2021 +0100 |
committer | Johannes Berg <johannes.berg@intel.com> | Thu Jan 21 13:12:46 2021 +0100 |
tree | a86b2785f16da2a3c6c762f2b4c304fccf2115f2 | |
parent | 600eb9de4d769c67bb7c93d6d2f07bd2646d0498 [diff] |
rfkill.py: explicitly set buffering=0 This fixes an issue with newer kernel versions - we had always documented the kernel API has being able to extend the struct size, but using buffering in python makes that impossible. Fix this by not using buffering. This really only matters on read, but set it on write for consistency as well.