wlcore: save last regdom configuration on stop
authorEliad Peller <eliad@wizery.com>
Mon, 9 Sep 2013 09:24:44 +0000 (12:24 +0300)
committerLuciano Coelho <luciano.coelho@intel.com>
Wed, 23 Oct 2013 06:47:45 +0000 (09:47 +0300)
commit8d3c1fd8c3a4a4a1a319491cdd09bd7eca23ba3b
tree0fe9deeafdea8151fcf9f0edf28b87ea392c2ea2
parente9687ea9caaf9f961df8144a95ca63ec77c02b49
wlcore: save last regdom configuration on stop

In order to reconfigure the correct reg domain on
recovery, we have to save the current configuration
before clearing it (wl->reg_ch_conf_pending is
considered before configuring a new regdomain).

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
drivers/net/wireless/ti/wlcore/main.c