Skip to content

Commit

Permalink
cfg80211: "fix" 11d oops
Browse files Browse the repository at this point in the history
This "fixes" the 11d oops I was seeing. This needs some more work but I
cannot work on it now.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Johannes Berg authored and John W. Linville committed Dec 5, 2008
1 parent c58f9f6 commit 0f70f39
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions net/wireless/reg.c
Original file line number Diff line number Diff line change
Expand Up @@ -989,6 +989,9 @@ void regulatory_hint_11d(struct wiphy *wiphy,
u32 checksum = 0;
enum environment_cap env = ENVIRON_ANY;

if (!last_request)
return;

mutex_lock(&cfg80211_drv_mutex);

/* IE len must be evenly divisible by 2 */
Expand Down

0 comments on commit 0f70f39

Please sign in to comment.