ath9k: fix misc debugfs when not using chan context
commit325e188176681bdce0584154075e02c373794749
authorBen Greear <greearb@candelatech.com>
Tue, 4 Nov 2014 23:22:49 +0000 (4 15:22 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 17 Nov 2014 20:32:13 +0000 (17 15:32 -0500)
tree22dace21b33b05d5a37a17cf74024897693a1e24
parent9b5186b4be26d1fb8d63a3001b2e6ff0b2e2f82f
ath9k: fix misc debugfs when not using chan context

When channel-context is not enabled, all vifs belong to
the first context, but it is not configured as 'assigned'.

Fix misc debugfs file to print out info for non-assigned
contexts, and also print whether ctx is assigned or not.

Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/debug.c