diff options
-rw-r--r-- | net/wireless/reg.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/net/wireless/reg.c b/net/wireless/reg.c index b47445219a48..baf50cac6e0a 100644 --- a/net/wireless/reg.c +++ b/net/wireless/reg.c | |||
@@ -1331,14 +1331,16 @@ void regulatory_hint_11d(struct wiphy *wiphy, | |||
1331 | if (!rd) | 1331 | if (!rd) |
1332 | goto out; | 1332 | goto out; |
1333 | 1333 | ||
1334 | /* This will not happen right now but we leave it here for the | 1334 | /* |
1335 | * This will not happen right now but we leave it here for the | ||
1335 | * the future when we want to add suspend/resume support and having | 1336 | * the future when we want to add suspend/resume support and having |
1336 | * the user move to another country after doing so, or having the user | 1337 | * the user move to another country after doing so, or having the user |
1337 | * move to another AP. Right now we just trust the first AP. This is why | 1338 | * move to another AP. Right now we just trust the first AP. |
1338 | * this is marked as likley(). If we hit this before we add this support | 1339 | * |
1339 | * we want to be informed of it as it would indicate a mistake in the | 1340 | * If we hit this before we add this support we want to be informed of |
1340 | * current design */ | 1341 | * it as it would indicate a mistake in the current design |
1341 | if (likely(WARN_ON(reg_same_country_ie_hint(wiphy, checksum)))) | 1342 | */ |
1343 | if (WARN_ON(reg_same_country_ie_hint(wiphy, checksum))) | ||
1342 | goto out; | 1344 | goto out; |
1343 | 1345 | ||
1344 | /* We keep this around for when CRDA comes back with a response so | 1346 | /* We keep this around for when CRDA comes back with a response so |