Merge lp:~brendan-donegan/checkbox/bug1023619_wireless_scanning_soft_blocked into lp:checkbox

Proposed by Brendan Donegan
Status: Merged
Merged at revision: 1509
Proposed branch: lp:~brendan-donegan/checkbox/bug1023619_wireless_scanning_soft_blocked
Merge into: lp:checkbox
Diff against target: 25 lines (+3/-1)
2 files modified
debian/changelog (+2/-0)
jobs/wireless.txt.in (+1/-1)
To merge this branch: bzr merge lp:~brendan-donegan/checkbox/bug1023619_wireless_scanning_soft_blocked
Reviewer Review Type Date Requested Status
Marc Tardif (community) Approve
Review via email: mp+114524@code.launchpad.net

Description of the change

Simple fix to unblock the wifi before testing wireless scanning, preventing the situation where the wireless may be blocked after loading the Broadcom STA driver.

To post a comment you must log in.
Revision history for this message
Marc Tardif (cr3) wrote :

Should the call to rfkill be added to the network_wireless_test script instead?

review: Needs Information
Revision history for this message
Brendan Donegan (brendan-donegan) wrote :

That's a possibility. Actually network_wireless_test is something we need to get rid of, because it uses deprecated kernel interfaces, so we need to modify the test to use nmcli. If we do this then the rfkill call will have to remain on the command line anyway

Revision history for this message
Marc Tardif (cr3) wrote :

That's a good motivation for putting rfkill in the test definition; it will be easier to remember when replacing the network_wireless_test script rather than looking in the script itself. For completeness, this is the bug you reported to make sure the script is eventually replaced:

https://bugs.launchpad.net/checkbox/+bug/900370

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2012-07-11 19:47:18 +0000
3+++ debian/changelog 2012-07-11 21:37:22 +0000
4@@ -90,6 +90,8 @@
5 of timing issues. (LP: #1018563)
6 * Catch exception raised in memory_compare by DMI RAM entries with No Module
7 Installed in the Size field (LP: #1023220)
8+ * Also unblock wireless before wireless_scanning test, as I neglected to do
9+ this before. (LP: #1023619)
10
11 -- Jeff Lane <jeff@ubuntu.com> Wed, 11 Jul 2012 13:21:46 -0400
12
13
14=== modified file 'jobs/wireless.txt.in'
15--- jobs/wireless.txt.in 2012-05-03 06:58:03 +0000
16+++ jobs/wireless.txt.in 2012-07-11 21:37:22 +0000
17@@ -2,7 +2,7 @@
18 name: wireless/wireless_scanning
19 user: root
20 requires: package.name == 'wireless-tools'
21-command: network_wireless_test
22+command: rfkill unblock wlan wifi; network_wireless_test
23 _description: Wireless scanning test. It scans and reports on discovered APs.
24
25 plugin: manual

Subscribers

People subscribed via source and target branches