From: Tomasz Bursztyka Date: Wed, 13 Aug 2014 13:04:51 +0000 (+0300) Subject: wireless: core: Reorder wiphy_register() notifications relevantly X-Git-Tag: fixes-against-v3.18-rc2~81^2~133^2~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a796dac9a6bedff6db99f57828c85c97071d3d1e;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed