Browse Source

nl80211: use the new genetlink pre/post_doit hooks

This makes nl80211 use the new genetlink
pre_doit/post_doit hooks for locking and
checking the interface/wiphy index.

This significantly reduces the code size
and the likelihood of locking errors.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Johannes Berg 15 years ago
parent
commit
4c47699106
1 changed files with 150 additions and 477 deletions
  1. 150 477
      net/wireless/nl80211.c

File diff suppressed because it is too large
+ 150 - 477
net/wireless/nl80211.c


Some files were not shown because too many files changed in this diff