commit | a796dac9a6bedff6db99f57828c85c97071d3d1e | [log] [tgz] |
---|---|---|
author | Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com> | Wed Aug 13 16:04:51 2014 +0300 |
committer | John W. Linville <linville@tuxdriver.com> | Mon Aug 25 16:17:41 2014 -0400 |
tree | 1cd9e5371031ca8196ffa203275b0c9f4c1a88c3 | |
parent | f0bd88dfd7e5d53bce84a9d077c949774f27a25a [diff] |
wireless: core: Reorder wiphy_register() notifications relevantly Currently it can send regulatory domain change notification before any NEW_WIPHY notification. Moreover, if rfill_register() fails, calling wiphy_unregister() will send a DEL_WIPHY though no NEW_WIPHY had been sent previously. Thus reordering so it properly notifies NEW_WIPHY before any other. Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>