Search Linux Wireless

[PATCH 3/3] cfg80211: amend regulatory NULL dereference fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Johanne's patch for "cfg80211: fix regulatory NULL dereference"
was fine but needed some other set of fixes which my previous
patches addresses. This one ammends his fix with the other
considerations applied.

Cc: stable@xxxxxxxxxxxxxxx
Cc: Johannes Berg <johannes.berg@xxxxxxxxx>
Signed-off-by: Luis R. Rodriguez <mcgrof@xxxxxxxxxxxxxxxx>
---
 net/wireless/reg.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/wireless/reg.c b/net/wireless/reg.c
index c8c3c59..b3393d6 100644
--- a/net/wireless/reg.c
+++ b/net/wireless/reg.c
@@ -2104,7 +2104,7 @@ static int __set_regdom(const struct ieee80211_regdomain *rd)
 
 	request_wiphy = wiphy_idx_to_wiphy(last_request->wiphy_idx);
 	if (!request_wiphy) {
-		reg_set_request_processed();
+		schedule_delayed_work(&reg_timeout, 0);
 		return -ENODEV;
 	}
 
-- 
1.7.4.15.g7811d

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux